Venomous Green Planarian for shadcn/ui

Venomous Green Planarian is a shadcn/ui theme built around a vivid green primary color (#7bfc3b) with vivid green accents (#3bfc5b). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the vivid green primary (#7bfc3b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#000000black
Foreground
#040802black
#f9fbf9mintcream
Card
#f6fcf3whitesmoke
#030303black
Card foreground
#020401black
#fcfdfcwhite
Popover
#f6fcf3whitesmoke
#030303black
Popover foreground
#020401black
#fcfdfcwhite
Primary
#7bfc3bgreenyellow
#7bfc3bgreenyellow
Primary foreground
#020500black
#020500black
Secondary
#dcfc3bgreenyellow
#dcfc3bgreenyellow
Secondary foreground
#040500black
#040500black
Muted
#e7e8e3gainsboro
#1b1c17black
Muted foreground
#5a5b52dimgray
#abada4darkgray
Accent
#3bfc5blimegreen
#3bfc5blimegreen
Accent foreground
#000501black
#000501black
Destructive
#7d0d0dmaroon
#e82121crimson
Destructive foreground
#f9c3c3pink
#ffffffwhite
Border
#eaebealinen
#191a19black
Input
#eaebealinen
#191a19black
Ring
#7bfc3bgreenyellow
#7bfc3bgreenyellow

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.68:1AAA
Primary button15.46:1AAA
Secondary button17.55:1AAA
Muted text5.57:1AA
Accent14.93:1AAA
Destructive7.05:1AAA
Dark mode
Text on background20.19:1AAA
Text on card20.28:1AAA
Primary button15.46:1AAA
Secondary button17.55:1AAA
Muted text7.55:1AAA
Accent14.93:1AAA
Destructive4.49:1AA Large

CSS variables

Paste this into your globals.css to use Venomous Green Planarian in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 134.87);
  --foreground: oklch(0.125 0.021 133.244);
  --muted: oklch(0.929 0.006 114.19);
  --muted-foreground: oklch(0.467 0.014 114.613);
  --popover: oklch(0.983 0.013 134.891);
  --popover-foreground: oklch(0.099 0.016 133.244);
  --card: oklch(0.983 0.013 134.891);
  --card-foreground: oklch(0.099 0.016 133.244);
  --border: oklch(0.939 0.001 134.834);
  --input: oklch(0.939 0.001 134.834);
  --primary: oklch(0.883 0.249 137.688);
  --primary-foreground: oklch(0.104 0.028 132.19);
  --secondary: oklch(0.936 0.204 119.098);
  --secondary-foreground: oklch(0.11 0.024 115.29);
  --accent: oklch(0.868 0.252 145.204);
  --accent-foreground: oklch(0.101 0.028 149.103);
  --destructive: oklch(0.377 0.144 27.776);
  --destructive-foreground: oklch(0.865 0.062 18.416);
  --ring: oklch(0.883 0.249 137.688);
  --chart-1: oklch(0.883 0.249 137.688);
  --chart-2: oklch(0.936 0.204 119.098);
  --chart-3: oklch(0.868 0.252 145.204);
  --chart-4: oklch(0.94 0.196 118.651);
  --chart-5: oklch(0.89 0.254 137.8);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.004 134.848);
  --muted: oklch(0.223 0.009 114.794);
  --muted-foreground: oklch(0.743 0.012 114.374);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.002 134.837);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.002 134.837);
  --border: oklch(0.217 0.002 134.878);
  --input: oklch(0.217 0.002 134.878);
  --primary: oklch(0.883 0.249 137.688);
  --primary-foreground: oklch(0.104 0.028 132.19);
  --secondary: oklch(0.936 0.204 119.098);
  --secondary-foreground: oklch(0.11 0.024 115.29);
  --accent: oklch(0.868 0.252 145.204);
  --accent-foreground: oklch(0.101 0.028 149.103);
  --destructive: oklch(0.596 0.228 27.812);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.883 0.249 137.688);
  --chart-1: oklch(0.883 0.249 137.688);
  --chart-2: oklch(0.936 0.204 119.098);
  --chart-3: oklch(0.868 0.252 145.204);
  --chart-4: oklch(0.94 0.196 118.651);
  --chart-5: oklch(0.89 0.254 137.8);
}