Radical Green Reindeer for shadcn/ui

Radical Green Reindeer is a shadcn/ui theme built around a deep green primary color (#376b29) with deep green accents (#296b3c). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#376b29) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#ffffffwhite
#020302black
Foreground
#061203black
#f6faf5whitesmoke
Card
#fcfcfcsnow
#040703black
Card foreground
#040d02black
#f9fcf8mintcream
Popover
#ffffffwhite
#020302black
Popover foreground
#061203black
#f6faf5whitesmoke
Primary
#376b29darkolivegreen
#376b29darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#586b29darkolivegreen
#586b29darkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e1e5d7gainsboro
#24281ablack
Muted foreground
#40413edarkslategray
#c0c1besilver
Accent
#296b3cdarkslategray
#296b3cdarkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b62002firebrick
#fc2c03orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#edeeecwhitesmoke
#1e201dblack
Input
#edeeecwhitesmoke
#1e201dblack
Ring
#376b29darkolivegreen
#376b29darkolivegreen

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.31:1AAA
Primary button6.34:1AA
Secondary button5.89:1AA
Muted text8.02:1AAA
Accent6.42:1AA
Destructive6.58:1AA
Dark mode
Text on background19.55:1AAA
Text on card19.59:1AAA
Primary button6.34:1AA
Secondary button5.89:1AA
Muted text8.29:1AAA
Accent6.42:1AA
Destructive3.80:1AA Large

CSS variables

Paste this into your globals.css to use Radical Green Reindeer in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.164 0.038 137.325);
  --muted: oklch(0.915 0.02 119.679);
  --muted-foreground: oklch(0.374 0.004 119.505);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.164 0.038 137.325);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.146 0.033 136.817);
  --border: oklch(0.948 0.003 138.892);
  --input: oklch(0.948 0.003 138.892);
  --primary: oklch(0.476 0.113 139.371);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.498 0.095 123.154);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.473 0.102 150.043);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.5 0.188 32.147);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.476 0.113 139.371);
  --chart-1: oklch(0.476 0.113 139.371);
  --chart-2: oklch(0.498 0.095 123.154);
  --chart-3: oklch(0.473 0.102 150.043);
  --chart-4: oklch(0.534 0.102 123.206);
  --chart-5: oklch(0.482 0.119 139.441);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.011 137.837);
  --foreground: oklch(0.981 0.009 138.894);
  --muted: oklch(0.27 0.026 121.037);
  --muted-foreground: oklch(0.808 0.004 119.381);
  --popover: oklch(0.096 0.011 137.837);
  --popover-foreground: oklch(0.981 0.009 138.894);
  --card: oklch(0.121 0.013 137.837);
  --card-foreground: oklch(0.987 0.006 138.893);
  --border: oklch(0.24 0.007 138.902);
  --input: oklch(0.24 0.007 138.902);
  --primary: oklch(0.476 0.113 139.371);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.498 0.095 123.154);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.473 0.102 150.043);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.638 0.242 31.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.476 0.113 139.371);
  --chart-1: oklch(0.476 0.113 139.371);
  --chart-2: oklch(0.498 0.095 123.154);
  --chart-3: oklch(0.473 0.102 150.043);
  --chart-4: oklch(0.534 0.102 123.206);
  --chart-5: oklch(0.482 0.119 139.441);
}