Washed Out Green Gerbil for shadcn/ui

Washed Out Green Gerbil is a shadcn/ui theme built around a light green primary color (#baefa4) with light green accents (#a4efb3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#baefa4) on a green-tinted background (#070a05).

Color palette

TokenLightDark
Background
#ffffffwhite
#070a05black
Foreground
#071203black
#ffffffwhite
Card
#fcfcfcsnow
#090e06black
Card foreground
#050d02black
#ffffffwhite
Popover
#fcfcfcsnow
#090e06black
Popover foreground
#050d02black
#ffffffwhite
Primary
#baefa4palegreen
#baefa4palegreen
Primary foreground
#23520fdarkgreen
#23520fdarkgreen
Secondary
#e0efa4palegoldenrod
#e0efa4palegoldenrod
Secondary foreground
#45520fdarkolivegreen
#45520fdarkolivegreen
Muted
#e4e7dagainsboro
#232518black
Muted foreground
#57594fdimgray
#aeb0a6darkgray
Accent
#a4efb3palegreen
#a4efb3palegreen
Accent foreground
#0f521cdarkgreen
#0f521cdarkgreen
Destructive
#7a0606maroon
#e00b0bred
Destructive foreground
#fcb6b6lightpink
#ffffffwhite
Border
#edeeedwhitesmoke
#262725darkslategray
Input
#edeeedwhitesmoke
#262725darkslategray
Ring
#baefa4palegreen
#baefa4palegreen

Contrast

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

Light mode
Text on background19.14:1AAA
Text on card19.29:1AAA
Primary button6.98:1AA
Secondary button6.90:1AA
Muted text5.68:1AA
Accent6.93:1AA
Destructive6.75:1AA
Dark mode
Text on background19.88:1AAA
Text on card19.50:1AAA
Primary button6.98:1AA
Secondary button6.90:1AA
Muted text7.07:1AAA
Accent6.93:1AA
Destructive4.97:1AA

CSS variables

Paste this into your globals.css to use Washed Out Green Gerbil in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.165 0.037 134.901);
  --muted: oklch(0.923 0.018 115.94);
  --muted-foreground: oklch(0.46 0.016 116.223);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.147 0.032 134.154);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.147 0.032 134.154);
  --border: oklch(0.947 0.002 136.028);
  --input: oklch(0.947 0.002 136.028);
  --primary: oklch(0.897 0.113 136.562);
  --primary-foreground: oklch(0.392 0.11 138.269);
  --secondary: oklch(0.923 0.097 117.553);
  --secondary-foreground: oklch(0.414 0.09 120.628);
  --accent: oklch(0.887 0.111 149.925);
  --accent-foreground: oklch(0.386 0.108 146.083);
  --destructive: oklch(0.367 0.146 28.533);
  --destructive-foreground: oklch(0.841 0.081 18.912);
  --ring: oklch(0.897 0.113 136.562);
  --chart-1: oklch(0.897 0.113 136.562);
  --chart-2: oklch(0.923 0.097 117.553);
  --chart-3: oklch(0.887 0.111 149.925);
  --chart-4: oklch(0.934 0.084 117.25);
  --chart-5: oklch(0.9 0.118 136.588);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.016 134.926);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.259 0.024 117.32);
  --muted-foreground: oklch(0.752 0.014 115.928);
  --popover: oklch(0.155 0.019 135.476);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.019 135.476);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.272 0.005 136.086);
  --input: oklch(0.272 0.005 136.086);
  --primary: oklch(0.897 0.113 136.562);
  --primary-foreground: oklch(0.392 0.11 138.269);
  --secondary: oklch(0.923 0.097 117.553);
  --secondary-foreground: oklch(0.414 0.09 120.628);
  --accent: oklch(0.887 0.111 149.925);
  --accent-foreground: oklch(0.386 0.108 146.083);
  --destructive: oklch(0.572 0.231 28.889);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.897 0.113 136.562);
  --chart-1: oklch(0.897 0.113 136.562);
  --chart-2: oklch(0.923 0.097 117.553);
  --chart-3: oklch(0.887 0.111 149.925);
  --chart-4: oklch(0.934 0.084 117.25);
  --chart-5: oklch(0.9 0.118 136.588);
}