Industrial Green Tuna for shadcn/ui

Industrial Green Tuna is a shadcn/ui theme built around a vivid deep green primary color (#164903) with vivid deep violet accents (#370349). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the vivid deep green primary (#164903) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#000000black
Foreground
#071104black
#f6faf5whitesmoke
Card
#f9fcf8mintcream
#000000black
Card foreground
#071104black
#f6faf5whitesmoke
Popover
#f9fcf8mintcream
#000000black
Popover foreground
#071104black
#f6faf5whitesmoke
Primary
#164903darkgreen
#164903darkgreen
Primary foreground
#5bf623lawngreen
#5bf623lawngreen
Secondary
#370349midnightblue
#370349midnightblue
Secondary foreground
#db85faviolet
#db85faviolet
Muted
#e3dae7gainsboro
#211825black
Muted foreground
#4f4653darkslategray
#b5acb9darkgray
Accent
#370349midnightblue
#370349midnightblue
Accent foreground
#db85faviolet
#db85faviolet
Destructive
#c54411chocolate
#ee703ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e0e1dfgainsboro
#262725darkslategray
Input
#e0e1dfgainsboro
#262725darkslategray
Ring
#164903darkgreen
#164903darkgreen

Contrast

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

Light mode
Text on background18.60:1AAA
Text on card18.60:1AAA
Primary button7.32:1AAA
Secondary button6.88:1AA
Muted text6.63:1AA
Accent6.88:1AA
Destructive4.98:1AA
Dark mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button7.32:1AAA
Secondary button6.88:1AA
Muted text7.79:1AAA
Accent6.88:1AA
Destructive7.05:1AAA

CSS variables

Paste this into your globals.css to use Industrial Green Tuna in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 137.204);
  --foreground: oklch(0.161 0.032 136.07);
  --muted: oklch(0.9 0.019 317.141);
  --muted-foreground: oklch(0.409 0.023 317.06);
  --popover: oklch(0.988 0.006 137.204);
  --popover-foreground: oklch(0.161 0.032 136.07);
  --card: oklch(0.988 0.006 137.204);
  --card-foreground: oklch(0.161 0.032 136.07);
  --border: oklch(0.909 0.003 137.197);
  --input: oklch(0.909 0.003 137.197);
  --primary: oklch(0.358 0.111 139.424);
  --primary-foreground: oklch(0.856 0.264 139.692);
  --secondary: oklch(0.255 0.12 314.215);
  --secondary-foreground: oklch(0.749 0.183 316.485);
  --accent: oklch(0.255 0.12 314.215);
  --accent-foreground: oklch(0.749 0.183 316.485);
  --destructive: oklch(0.562 0.174 38.481);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.358 0.111 139.424);
  --chart-1: oklch(0.358 0.111 139.424);
  --chart-2: oklch(0.255 0.12 314.215);
  --chart-3: oklch(0.255 0.12 314.215);
  --chart-4: oklch(0.287 0.137 313.856);
  --chart-5: oklch(0.362 0.113 139.476);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.981 0.009 137.21);
  --muted: oklch(0.228 0.027 316.914);
  --muted-foreground: oklch(0.757 0.02 317.129);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.981 0.009 137.21);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.981 0.009 137.21);
  --border: oklch(0.272 0.005 137.231);
  --input: oklch(0.272 0.005 137.231);
  --primary: oklch(0.358 0.111 139.424);
  --primary-foreground: oklch(0.856 0.264 139.692);
  --secondary: oklch(0.255 0.12 314.215);
  --secondary-foreground: oklch(0.749 0.183 316.485);
  --accent: oklch(0.255 0.12 314.215);
  --accent-foreground: oklch(0.749 0.183 316.485);
  --destructive: oklch(0.688 0.168 41.029);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.358 0.111 139.424);
  --chart-1: oklch(0.358 0.111 139.424);
  --chart-2: oklch(0.255 0.12 314.215);
  --chart-3: oklch(0.255 0.12 314.215);
  --chart-4: oklch(0.287 0.137 313.856);
  --chart-5: oklch(0.362 0.113 139.476);
}