Clumsy Green Juice for shadcn/ui

Clumsy Green Juice is a shadcn/ui theme built around a green primary color (#49d930) with purple accents (#c030d9). The light mode uses a neutral background (#f8fcf7). Dark mode keeps the green primary (#49d930) on a green-tinted background (#070f05).

Color palette

TokenLightDark
Background
#f8fcf7mintcream
#070f05black
Foreground
#040d02black
#fcfdfcwhite
Card
#f5fbf4whitesmoke
#081307black
Card foreground
#030901black
#ffffffwhite
Popover
#f5fbf4whitesmoke
#081307black
Popover foreground
#030901black
#ffffffwhite
Primary
#49d930limegreen
#49d930limegreen
Primary foreground
#103409darkgreen
#103409darkgreen
Secondary
#c030d9mediumorchid
#c030d9mediumorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e0dbe1gainsboro
#231e24black
Muted foreground
#625f63dimgray
#9f9ca0darkgray
Accent
#c030d9mediumorchid
#c030d9mediumorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#cb3e06firebrick
#e44607orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaecealinen
#222522black
Input
#eaecealinen
#222522black
Ring
#49d930limegreen
#49d930limegreen

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card19.14:1AAA
Primary button7.42:1AAA
Secondary button4.50:1AA
Muted text4.61:1AA
Accent4.50:1AA
Destructive4.96:1AA
Dark mode
Text on background19.06:1AAA
Text on card18.97:1AAA
Primary button7.42:1AAA
Secondary button4.50:1AA
Muted text6.00:1AA
Accent4.50:1AA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 141.048);
  --foreground: oklch(0.144 0.033 138.97);
  --muted: oklch(0.897 0.009 321.086);
  --muted-foreground: oklch(0.49 0.007 321.098);
  --popover: oklch(0.981 0.012 141.039);
  --popover-foreground: oklch(0.125 0.028 138.869);
  --card: oklch(0.981 0.012 141.039);
  --card-foreground: oklch(0.125 0.028 138.869);
  --border: oklch(0.94 0.003 141.058);
  --input: oklch(0.94 0.003 141.058);
  --primary: oklch(0.779 0.235 141.079);
  --primary-foreground: oklch(0.287 0.08 140.876);
  --secondary: oklch(0.601 0.253 321);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.601 0.253 321);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.565 0.186 37.13);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.235 141.079);
  --chart-1: oklch(0.779 0.235 141.079);
  --chart-2: oklch(0.601 0.253 321);
  --chart-3: oklch(0.601 0.253 321);
  --chart-4: oklch(0.618 0.244 321.179);
  --chart-5: oklch(0.787 0.242 141.138);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.026 139.842);
  --foreground: oklch(0.993 0.002 141.061);
  --muted: oklch(0.244 0.012 321.169);
  --muted-foreground: oklch(0.697 0.007 321.086);
  --popover: oklch(0.172 0.03 140.19);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.172 0.03 140.19);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.262 0.008 140.999);
  --input: oklch(0.262 0.008 140.999);
  --primary: oklch(0.779 0.235 141.079);
  --primary-foreground: oklch(0.287 0.08 140.876);
  --secondary: oklch(0.601 0.253 321);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.601 0.253 321);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.615 0.203 36.93);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.235 141.079);
  --chart-1: oklch(0.779 0.235 141.079);
  --chart-2: oklch(0.601 0.253 321);
  --chart-3: oklch(0.601 0.253 321);
  --chart-4: oklch(0.618 0.244 321.179);
  --chart-5: oklch(0.787 0.242 141.138);
}