Green Juice Tahr1 for shadcn/ui

Green Juice Tahr1 is a shadcn/ui theme built around a green primary color (#39dc2e) with muted light green accents (#b6d0b4). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the green primary (#39dc2e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcf8mintcream
#000000black
Foreground
#041703black
#fcfdfcwhite
Card
#f8fcf8mintcream
#000000black
Card foreground
#041703black
#fcfdfcwhite
Popover
#f8fcf8mintcream
#000000black
Popover foreground
#041703black
#fcfdfcwhite
Primary
#39dc2elimegreen
#39dc2elimegreen
Primary foreground
#0c3409darkgreen
#0c3409darkgreen
Secondary
#d6e2d5gainsboro
#2b322adarkslategray
Secondary foreground
#384e36darkslategray
#c3cbc2silver
Muted
#dee3degainsboro
#1c211cblack
Muted foreground
#5e645edimgray
#9ca19bdarkgray
Accent
#b6d0b4silver
#354733darkslategray
Accent foreground
#21321fdarkslategray
#d1ddd0lightgrey
Destructive
#ba2e08firebrick
#f54919orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e3e9e2gainsboro
#192018black
Input
#e3e9e2gainsboro
#192018black
Ring
#39dc2elimegreen
#39dc2elimegreen

Contrast

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

Light mode
Text on background17.92:1AAA
Text on card17.92:1AAA
Primary button7.54:1AAA
Secondary button6.77:1AA
Muted text4.67:1AA
Accent8.20:1AAA
Destructive6.01:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button7.54:1AAA
Secondary button7.97:1AAA
Muted text6.19:1AA
Accent7.12:1AAA
Destructive3.58:1AA Large

CSS variables

Paste this into your globals.css to use Green Juice Tahr1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 143.607);
  --foreground: oklch(0.18 0.049 141.523);
  --muted: oklch(0.911 0.009 143.582);
  --muted-foreground: oklch(0.496 0.011 143.515);
  --popover: oklch(0.986 0.005 143.607);
  --popover-foreground: oklch(0.18 0.049 141.523);
  --card: oklch(0.986 0.005 143.607);
  --card-foreground: oklch(0.18 0.049 141.523);
  --border: oklch(0.927 0.011 143.573);
  --input: oklch(0.927 0.011 143.573);
  --primary: oklch(0.781 0.244 142.127);
  --primary-foreground: oklch(0.288 0.083 142.144);
  --secondary: oklch(0.899 0.022 143.509);
  --secondary-foreground: oklch(0.399 0.048 142.979);
  --accent: oklch(0.83 0.048 143.326);
  --accent-foreground: oklch(0.296 0.041 142.889);
  --destructive: oklch(0.52 0.181 34.224);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.781 0.244 142.127);
  --chart-1: oklch(0.781 0.244 142.127);
  --chart-2: oklch(0.899 0.022 143.509);
  --chart-3: oklch(0.83 0.048 143.326);
  --chart-4: oklch(0.921 0.017 143.539);
  --chart-5: oklch(0.79 0.25 142.132);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 143.625);
  --muted: oklch(0.242 0.013 143.353);
  --muted-foreground: oklch(0.703 0.01 143.558);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 143.625);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.002 143.625);
  --border: oklch(0.233 0.017 143.242);
  --input: oklch(0.233 0.017 143.242);
  --primary: oklch(0.781 0.244 142.127);
  --primary-foreground: oklch(0.288 0.083 142.144);
  --secondary: oklch(0.306 0.016 143.355);
  --secondary-foreground: oklch(0.834 0.015 143.538);
  --accent: oklch(0.376 0.04 143.055);
  --accent-foreground: oklch(0.884 0.022 143.504);
  --destructive: oklch(0.648 0.216 34.9);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.781 0.244 142.127);
  --chart-1: oklch(0.781 0.244 142.127);
  --chart-2: oklch(0.306 0.016 143.355);
  --chart-3: oklch(0.376 0.04 143.055);
  --chart-4: oklch(0.337 0.018 143.346);
  --chart-5: oklch(0.79 0.25 142.132);
}