Well-groomed for shadcn/ui

Well-groomed is a shadcn/ui theme built around a green primary color (#8cde96) with teal accents (#8cdebf). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#8cde96) on a neutral background (#010401).

Color palette

TokenLightDark
Background
#fbfefcwhite
#010401black
Foreground
#051006black
#ffffffwhite
Card
#f8fcf8mintcream
#020803black
Card foreground
#040c05black
#ffffffwhite
Popover
#f8fcf8mintcream
#020803black
Popover foreground
#040c05black
#ffffffwhite
Primary
#8cde96lightgreen
#8cde96lightgreen
Primary foreground
#0d2b10black
#0d2b10black
Secondary
#acde8clightgreen
#acde8clightgreen
Secondary foreground
#182b0dblack
#182b0dblack
Muted
#e0e3degainsboro
#1e211cblack
Muted foreground
#5b6057dimgray
#a2a89fdarkgray
Accent
#8cdebfaquamarine
#8cdebfaquamarine
Accent foreground
#0d2b20black
#0d2b20black
Destructive
#aa1409firebrick
#f32112red
Destructive foreground
#fee8e7mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8cde96lightgreen
#8cde96lightgreen

Contrast

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

Light mode
Text on background19.05:1AAA
Text on card19.13:1AAA
Primary button9.47:1AAA
Secondary button9.74:1AAA
Muted text4.96:1AA
Accent9.60:1AAA
Destructive6.39:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.22:1AAA
Primary button9.47:1AAA
Secondary button9.74:1AAA
Muted text6.70:1AA
Accent9.60:1AAA
Destructive4.18:1AA Large

CSS variables

Paste this into your globals.css to use Well-groomed in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 149.09);
  --foreground: oklch(0.156 0.028 147.621);
  --muted: oklch(0.911 0.006 133.034);
  --muted-foreground: oklch(0.483 0.016 133.218);
  --popover: oklch(0.987 0.007 149.047);
  --popover-foreground: oklch(0.14 0.024 147.955);
  --card: oklch(0.987 0.007 149.047);
  --card-foreground: oklch(0.14 0.024 147.955);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.829 0.128 147.099);
  --primary-foreground: oklch(0.26 0.061 145.722);
  --secondary: oklch(0.845 0.12 134.121);
  --secondary-foreground: oklch(0.266 0.058 135.086);
  --accent: oklch(0.839 0.092 167.869);
  --accent-foreground: oklch(0.264 0.043 165.097);
  --destructive: oklch(0.47 0.183 29.744);
  --destructive-foreground: oklch(0.949 0.024 22.506);
  --ring: oklch(0.829 0.128 147.099);
  --chart-1: oklch(0.829 0.128 147.099);
  --chart-2: oklch(0.845 0.12 134.121);
  --chart-3: oklch(0.839 0.092 167.869);
  --chart-4: oklch(0.861 0.108 133.958);
  --chart-5: oklch(0.833 0.134 146.993);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.017 147.959);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.242 0.009 133.242);
  --muted-foreground: oklch(0.724 0.015 133.124);
  --popover: oklch(0.122 0.021 147.959);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.021 147.959);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.829 0.128 147.099);
  --primary-foreground: oklch(0.26 0.061 145.722);
  --secondary: oklch(0.845 0.12 134.121);
  --secondary-foreground: oklch(0.266 0.058 135.086);
  --accent: oklch(0.839 0.092 167.869);
  --accent-foreground: oklch(0.264 0.043 165.097);
  --destructive: oklch(0.614 0.239 29.742);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.829 0.128 147.099);
  --chart-1: oklch(0.829 0.128 147.099);
  --chart-2: oklch(0.845 0.12 134.121);
  --chart-3: oklch(0.839 0.092 167.869);
  --chart-4: oklch(0.861 0.108 133.958);
  --chart-5: oklch(0.833 0.134 146.993);
}