Meadow Green Junglefowl for shadcn/ui

Meadow Green Junglefowl is a shadcn/ui theme built around a green primary color (#6d9852) with pink accents (#98526d). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#6d9852) on a green-tinted background (#070c04).

Color palette

TokenLightDark
Background
#ffffffwhite
#070c04black
Foreground
#091104black
#ffffffwhite
Card
#fcfcfcsnow
#090f05black
Card foreground
#070d03black
#ffffffwhite
Popover
#ffffffwhite
#070c04black
Popover foreground
#091104black
#ffffffwhite
Primary
#6d9852olivedrab
#6d9852olivedrab
Primary foreground
#000000black
#000000black
Secondary
#526d98slategray
#526d98slategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5e7eblavender
#14161ablack
Muted foreground
#393e47darkslategray
#b8bec6silver
Accent
#98526ddimgray
#98526ddimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c62606firebrick
#f73008orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#edefeblinen
#20251dblack
Input
#edefeblinen
#20251dblack
Ring
#6d9852olivedrab
#6d9852olivedrab

Contrast

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

Light mode
Text on background19.20:1AAA
Text on card19.24:1AAA
Primary button6.29:1AA
Secondary button5.24:1AA
Muted text8.69:1AAA
Accent5.56:1AA
Destructive5.70:1AA
Dark mode
Text on background19.79:1AAA
Text on card19.36:1AAA
Primary button6.29:1AA
Secondary button5.24:1AA
Muted text9.67:1AAA
Accent5.56:1AA
Destructive3.89:1AA Large

CSS variables

Paste this into your globals.css to use Meadow Green Junglefowl in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.163 0.031 132.497);
  --muted: oklch(0.928 0.006 259.941);
  --muted-foreground: oklch(0.363 0.017 259.924);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.163 0.031 132.497);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.146 0.027 131.546);
  --border: oklch(0.95 0.006 133.031);
  --input: oklch(0.95 0.006 133.031);
  --primary: oklch(0.633 0.11 134.469);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.532 0.076 259.666);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.531 0.099 356.621);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.535 0.198 32.168);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.633 0.11 134.469);
  --chart-1: oklch(0.633 0.11 134.469);
  --chart-2: oklch(0.532 0.076 259.666);
  --chart-3: oklch(0.531 0.099 356.621);
  --chart-4: oklch(0.557 0.08 259.664);
  --chart-5: oklch(0.64 0.119 134.632);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.021 131.734);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.2 0.009 259.922);
  --muted-foreground: oklch(0.799 0.014 259.946);
  --popover: oklch(0.143 0.021 131.734);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.159 0.025 132.608);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.257 0.016 133.436);
  --input: oklch(0.257 0.016 133.436);
  --primary: oklch(0.633 0.11 134.469);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.532 0.076 259.666);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.531 0.099 356.621);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.631 0.236 31.967);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.633 0.11 134.469);
  --chart-1: oklch(0.633 0.11 134.469);
  --chart-2: oklch(0.532 0.076 259.666);
  --chart-3: oklch(0.531 0.099 356.621);
  --chart-4: oklch(0.557 0.08 259.664);
  --chart-5: oklch(0.64 0.119 134.632);
}