Stockade Green Planarian for shadcn/ui

Stockade Green Planarian is a shadcn/ui theme built around a deep teal primary color (#134e4a) with muted light green accents (#d2dbd6). The light mode uses a teal-tinted background (#f1f6f6). Dark mode switches to a vivid deep teal primary (#0f766e) on a teal-tinted background (#081314).

Color palette

TokenLightDark
Background
#f1f6f6whitesmoke
#081314black
Foreground
#121306black
#fafaf5whitesmoke
Card
#fcfcf8snow
#050d0dblack
Card foreground
#121306black
#fafaf5whitesmoke
Popover
#fcfcf8snow
#050d0dblack
Popover foreground
#121306black
#fafaf5whitesmoke
Primary
#134e4adarkslategray
#0f766eteal
Primary foreground
#f2fdfamintcream
#f0fdfaazure
Secondary
#0d9488darkcyan
#14b8a6lightseagreen
Secondary foreground
#f0fdfaazure
#ffffffwhite
Muted
#d9e9e6gainsboro
#172f31darkslategray
Muted foreground
#456260darkslategray
#9ebabcdarkgray
Accent
#d2dbd6lightgrey
#99f6e4paleturquoise
Accent foreground
#134e4adarkslategray
#0f766eteal
Destructive
#c02811firebrick
#be123ccrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#cde0dbgainsboro
#22322fdarkslategray
Input
#c5dad4lightgrey
#1a2826darkslategray
Ring
#253e38darkslategray
#99f6e4paleturquoise

Contrast

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

Light mode
Text on background17.19:1AAA
Text on card18.22:1AAA
Primary button9.11:1AAA
Secondary button3.58:1AA Large
Muted text5.29:1AA
Accent6.68:1AA
Destructive5.91:1AA
Dark mode
Text on background17.98:1AAA
Text on card18.75:1AAA
Primary button5.24:1AA
Secondary button2.48:1Fail
Muted text6.87:1AA
Accent4.34:1AA Large
Destructive6.28:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0.006 188.178);
  --foreground: oklch(0.183 0.025 111.826);
  --muted: oklch(0.922 0.018 180.559);
  --muted-foreground: oklch(0.473 0.034 191.674);
  --popover: oklch(0.99 0.006 109.592);
  --popover-foreground: oklch(0.183 0.025 111.826);
  --card: oklch(0.99 0.006 109.592);
  --card-foreground: oklch(0.183 0.025 111.826);
  --border: oklch(0.89 0.021 179.531);
  --input: oklch(0.871 0.024 176.955);
  --primary: oklch(0.386 0.059 188.516);
  --primary-foreground: oklch(0.985 0.013 180.594);
  --secondary: oklch(0.6 0.104 184.71);
  --secondary-foreground: oklch(0.984 0.014 180.716);
  --accent: oklch(0.883 0.011 164.188);
  --accent-foreground: oklch(0.386 0.059 188.412);
  --destructive: oklch(0.526 0.191 31.48);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.343 0.033 177.082);
  --chart-1: oklch(0.386 0.059 188.516);
  --chart-2: oklch(0.6 0.104 184.71);
  --chart-3: oklch(0.883 0.011 164.188);
  --chart-4: oklch(0.641 0.111 184.648);
  --chart-5: oklch(0.39 0.061 188.376);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.177 0.017 200.539);
  --foreground: oklch(0.984 0.007 109.616);
  --muted: oklch(0.286 0.03 201.559);
  --muted-foreground: oklch(0.77 0.03 201.836);
  --popover: oklch(0.15 0.014 195.791);
  --popover-foreground: oklch(0.984 0.007 109.616);
  --card: oklch(0.15 0.013 194.498);
  --card-foreground: oklch(0.984 0.007 109.616);
  --border: oklch(0.301 0.022 185.15);
  --input: oklch(0.265 0.02 185.037);
  --primary: oklch(0.511 0.086 186.392);
  --primary-foreground: oklch(0.984 0.014 180.716);
  --secondary: oklch(0.704 0.123 182.494);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.91 0.093 180.43);
  --accent-foreground: oklch(0.511 0.086 186.392);
  --destructive: oklch(0.514 0.198 16.935);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.91 0.093 180.43);
  --chart-1: oklch(0.511 0.086 186.392);
  --chart-2: oklch(0.704 0.123 182.494);
  --chart-3: oklch(0.91 0.093 180.43);
  --chart-4: oklch(0.743 0.13 182.447);
  --chart-5: oklch(0.517 0.088 186.24);
}