Sad Lush Greenery for shadcn/ui

Sad Lush Greenery is a shadcn/ui theme built around a vivid green primary color (#90f64c) with muted green accents (#bbc7b3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#90f64c) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#ffffffwhite
#020401black
Foreground
#040901black
#ffffffwhite
Card
#ffffffwhite
#020401black
Card foreground
#040901black
#ffffffwhite
Popover
#ffffffwhite
#020401black
Popover foreground
#040901black
#ffffffwhite
Primary
#90f64cgreenyellow
#90f64cgreenyellow
Primary foreground
#060f01black
#060f01black
Secondary
#d6d8d4lightgrey
#2b2d2adarkslategray
Secondary foreground
#3d403adarkslategray
#c4c6c3silver
Muted
#f1f7edhoneydew
#0c1208black
Muted foreground
#474c43darkslategray
#b7bcb3silver
Accent
#bbc7b3silver
#373d33darkslategray
Accent foreground
#23291eblack
#d0d5cdlightgrey
Destructive
#882e07saddlebrown
#f2520dorangered
Destructive foreground
#fcd5c5peachpuff
#ffffffwhite
Border
#eaeee8linen
#20261cblack
Input
#eaeee8linen
#20261cblack
Ring
#90f64cgreenyellow
#90f64cgreenyellow

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card20.10:1AAA
Primary button14.31:1AAA
Secondary button7.35:1AAA
Muted text8.10:1AAA
Accent8.44:1AAA
Destructive6.36:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button14.31:1AAA
Secondary button8.10:1AAA
Muted text9.83:1AAA
Accent7.48:1AAA
Destructive3.50:1AA Large

CSS variables

Paste this into your globals.css to use Sad Lush Greenery in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.028 130.41);
  --muted: oklch(0.97 0.015 132.474);
  --muted-foreground: oklch(0.408 0.016 132.65);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.028 130.41);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.129 0.028 130.41);
  --border: oklch(0.944 0.009 132.43);
  --input: oklch(0.944 0.009 132.43);
  --primary: oklch(0.877 0.223 135.445);
  --primary-foreground: oklch(0.152 0.038 130.699);
  --secondary: oklch(0.88 0.006 132.41);
  --secondary-foreground: oklch(0.367 0.011 132.595);
  --accent: oklch(0.814 0.03 132.643);
  --accent-foreground: oklch(0.271 0.021 132.983);
  --destructive: oklch(0.429 0.131 39.421);
  --destructive-foreground: oklch(0.902 0.049 44.517);
  --ring: oklch(0.877 0.223 135.445);
  --chart-1: oklch(0.877 0.223 135.445);
  --chart-2: oklch(0.88 0.006 132.41);
  --chart-3: oklch(0.814 0.03 132.643);
  --chart-4: oklch(0.903 0.005 132.399);
  --chart-5: oklch(0.884 0.228 135.563);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.014 131.13);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.171 0.023 133.142);
  --muted-foreground: oklch(0.788 0.013 132.485);
  --popover: oklch(0.099 0.014 131.13);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.099 0.014 131.13);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.26 0.02 132.969);
  --input: oklch(0.26 0.02 132.969);
  --primary: oklch(0.877 0.223 135.445);
  --primary-foreground: oklch(0.152 0.038 130.699);
  --secondary: oklch(0.293 0.005 132.49);
  --secondary-foreground: oklch(0.824 0.005 132.407);
  --accent: oklch(0.351 0.019 132.776);
  --accent-foreground: oklch(0.868 0.012 132.466);
  --destructive: oklch(0.652 0.207 38.36);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.877 0.223 135.445);
  --chart-1: oklch(0.877 0.223 135.445);
  --chart-2: oklch(0.293 0.005 132.49);
  --chart-3: oklch(0.351 0.019 132.776);
  --chart-4: oklch(0.324 0.006 132.495);
  --chart-5: oklch(0.884 0.228 135.563);
}