Stone Green Flamingo for shadcn/ui

Stone Green Flamingo is a shadcn/ui theme built around a muted green primary color (#649068) with muted red accents (#906864). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted green primary (#649068) on a neutral background (#030703).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#030703black
Foreground
#061407black
#ffffffwhite
Card
#fcfdfcwhite
#030703black
Card foreground
#061407black
#ffffffwhite
Popover
#fcfdfcwhite
#030703black
Popover foreground
#061407black
#ffffffwhite
Primary
#649068dimgray
#649068dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#686490slategray
#686490slategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3e2e9gainsboro
#17161dblack
Muted foreground
#383749darkslategray
#b8b6c8silver
Accent
#906864dimgray
#906864dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#650706maroon
#f11713red
Destructive foreground
#faa5a3lightpink
#ffffffwhite
Border
#e6eae7lavender
#212622black
Input
#e6eae7lavender
#212622black
Ring
#649068dimgray
#649068dimgray

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background18.56:1AAA
Text on card18.56:1AAA
Primary button3.64:1AA Large
Secondary button5.48:1AA
Muted text9.01:1AAA
Accent4.81:1AA
Destructive6.89:1AA
Dark mode
Text on background20.25:1AAA
Text on card20.25:1AAA
Primary button3.64:1AA Large
Secondary button5.48:1AA
Muted text9.03:1AAA
Accent4.81:1AA
Destructive4.30:1AA Large

CSS variables

Paste this into your globals.css to use Stone Green Flamingo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 148.033);
  --foreground: oklch(0.172 0.034 146.146);
  --muted: oklch(0.916 0.009 290.063);
  --muted-foreground: oklch(0.345 0.031 288.479);
  --popover: oklch(0.993 0.003 148.033);
  --popover-foreground: oklch(0.172 0.034 146.146);
  --card: oklch(0.993 0.003 148.033);
  --card-foreground: oklch(0.172 0.034 146.146);
  --border: oklch(0.933 0.005 148.005);
  --input: oklch(0.933 0.005 148.005);
  --primary: oklch(0.611 0.077 146.62);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.526 0.069 287.601);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.558 0.053 24.754);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.324 0.125 28.573);
  --destructive-foreground: oklch(0.804 0.101 20.599);
  --ring: oklch(0.611 0.077 146.62);
  --chart-1: oklch(0.611 0.077 146.62);
  --chart-2: oklch(0.526 0.069 287.601);
  --chart-3: oklch(0.558 0.053 24.754);
  --chart-4: oklch(0.551 0.069 287.707);
  --chart-5: oklch(0.618 0.089 146.388);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.017 147.073);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.205 0.013 289.006);
  --muted-foreground: oklch(0.784 0.025 289.636);
  --popover: oklch(0.121 0.017 147.073);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.017 147.073);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.263 0.011 147.611);
  --input: oklch(0.263 0.011 147.611);
  --primary: oklch(0.611 0.077 146.62);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.526 0.069 287.601);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.558 0.053 24.754);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.608 0.241 28.875);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.611 0.077 146.62);
  --chart-1: oklch(0.611 0.077 146.62);
  --chart-2: oklch(0.526 0.069 287.601);
  --chart-3: oklch(0.558 0.053 24.754);
  --chart-4: oklch(0.551 0.069 287.707);
  --chart-5: oklch(0.618 0.089 146.388);
}