Doubtful Last of Lettuce for shadcn/ui

Doubtful Last of Lettuce is a shadcn/ui theme built around a green primary color (#a5e561) with muted light green accents (#d1d7cb). The light mode uses a neutral background (#fafdf7). Dark mode keeps the green primary (#a5e561) on a neutral background (#1a1a1c).

Color palette

TokenLightDark
Background
#fafdf7mintcream
#1a1a1cblack
Foreground
#080d02black
#fcfdfbsnow
Card
#f7fbf3whitesmoke
#121112black
Card foreground
#050901black
#ffffffwhite
Popover
#f7fbf3whitesmoke
#050802black
Popover foreground
#050901black
#ffffffwhite
Primary
#a5e561lightgreen
#a5e561lightgreen
Primary foreground
#0a1203black
#0a1203black
Secondary
#e3e4e2gainsboro
#2e2f2edarkslategray
Secondary foreground
#4a4d47darkslategray
#b3b5b0darkgray
Muted
#edeeecwhitesmoke
#272b2adarkslategray
Muted foreground
#616959dimgray
#9ea696darkgray
Accent
#d1d7cblightgrey
#312e3cdarkslategray
Accent foreground
#383f31darkslategray
#c2c8bcsilver
Destructive
#6e0707maroon
#f23636crimson
Destructive foreground
#faaeaelightpink
#ffffffwhite
Border
#e0e2dfgainsboro
#2f2e32darkslategray
Input
#e0e2dfgainsboro
#21231fblack
Ring
#a5e561lightgreen
#a5e561lightgreen

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card19.22:1AAA
Primary button12.73:1AAA
Secondary button6.73:1AA
Muted text4.92:1AA
Accent7.43:1AAA
Destructive6.90:1AA
Dark mode
Text on background16.94:1AAA
Text on card18.84:1AAA
Primary button12.73:1AAA
Secondary button6.51:1AA
Muted text5.71:1AA
Accent7.77:1AAA
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use Doubtful Last of Lettuce in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 127.878);
  --foreground: oklch(0.15 0.029 126.917);
  --muted: oklch(0.949 0.004 127.833);
  --muted-foreground: oklch(0.508 0.026 128.393);
  --popover: oklch(0.984 0.011 127.923);
  --popover-foreground: oklch(0.13 0.025 126.443);
  --card: oklch(0.984 0.011 127.923);
  --card-foreground: oklch(0.13 0.025 126.443);
  --border: oklch(0.911 0.005 127.857);
  --input: oklch(0.911 0.005 127.857);
  --primary: oklch(0.853 0.176 130.919);
  --primary-foreground: oklch(0.168 0.034 128.312);
  --secondary: oklch(0.918 0.003 127.83);
  --secondary-foreground: oklch(0.415 0.01 128.083);
  --accent: oklch(0.872 0.017 128.024);
  --accent-foreground: oklch(0.358 0.026 128.68);
  --destructive: oklch(0.343 0.134 28.199);
  --destructive-foreground: oklch(0.822 0.09 19.173);
  --ring: oklch(0.853 0.176 130.919);
  --chart-1: oklch(0.853 0.176 130.919);
  --chart-2: oklch(0.918 0.003 127.83);
  --chart-3: oklch(0.872 0.017 128.024);
  --chart-4: oklch(0.94 0.002 127.818);
  --chart-5: oklch(0.859 0.182 131.052);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.221 0.003 286.005);
  --foreground: oklch(0.994 0.003 127.821);
  --muted: oklch(0.284 0.006 187.341);
  --muted-foreground: oklch(0.714 0.024 128.182);
  --popover: oklch(0.127 0.02 126.686);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.179 0.003 301.363);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.305 0.007 296.201);
  --input: oklch(0.253 0.008 128.157);
  --primary: oklch(0.853 0.176 130.919);
  --primary-foreground: oklch(0.168 0.034 128.312);
  --secondary: oklch(0.303 0.002 127.852);
  --secondary-foreground: oklch(0.769 0.007 127.894);
  --accent: oklch(0.309 0.027 295.03);
  --accent-foreground: oklch(0.824 0.018 128.047);
  --destructive: oklch(0.629 0.224 26.543);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.853 0.176 130.919);
  --chart-1: oklch(0.853 0.176 130.919);
  --chart-2: oklch(0.303 0.002 127.852);
  --chart-3: oklch(0.309 0.027 295.03);
  --chart-4: oklch(0.334 0.002 127.854);
  --chart-5: oklch(0.859 0.182 131.052);
}