Dramatic Deep into the Wood for shadcn/ui

Dramatic Deep into the Wood is a shadcn/ui theme built around a deep green primary color (#255f30) with deep purple accents (#5f2555). The light mode uses a neutral background (#fbfefb). Dark mode keeps the deep green primary (#255f30) on a green-tinted background (#060e08).

Color palette

TokenLightDark
Background
#fbfefbwhite
#060e08black
Foreground
#021205black
#fcfdfcwhite
Card
#f7fdf8mintcream
#08120ablack
Card foreground
#020d04black
#ffffffwhite
Popover
#fbfefbwhite
#060e08black
Popover foreground
#021205black
#fcfdfcwhite
Primary
#255f30darkslategray
#255f30darkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#5f2555indigo
#5f2555indigo
Secondary foreground
#ebcce5gainsboro
#ebcce5gainsboro
Muted
#efe6edlavender
#191017black
Muted foreground
#675b65dimgray
#a498a2darkgray
Accent
#5f2555indigo
#5f2555indigo
Accent foreground
#ebcce5gainsboro
#ebcce5gainsboro
Destructive
#ac0f06firebrick
#f7281dorangered
Destructive foreground
#fee8e6mistyrose
#ffffffwhite
Border
#eaf0ebwhitesmoke
#212c23darkslategray
Input
#eaf0ebwhitesmoke
#212c23darkslategray
Ring
#255f30darkslategray
#255f30darkslategray

Contrast

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

Light mode
Text on background18.94:1AAA
Text on card19.15:1AAA
Primary button7.56:1AAA
Secondary button7.57:1AAA
Muted text5.28:1AA
Accent7.57:1AAA
Destructive6.32:1AA
Dark mode
Text on background19.14:1AAA
Text on card19.09:1AAA
Primary button7.56:1AAA
Secondary button7.57:1AAA
Muted text6.73:1AA
Accent7.57:1AAA
Destructive3.99:1AA Large

CSS variables

Paste this into your globals.css to use Dramatic Deep into the Wood in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 151.342);
  --foreground: oklch(0.162 0.037 149.3);
  --muted: oklch(0.934 0.014 331.614);
  --muted-foreground: oklch(0.486 0.021 332.005);
  --popover: oklch(0.994 0.005 151.342);
  --popover-foreground: oklch(0.162 0.037 149.3);
  --card: oklch(0.988 0.009 151.276);
  --card-foreground: oklch(0.144 0.032 149.925);
  --border: oklch(0.949 0.008 151.284);
  --input: oklch(0.949 0.008 151.284);
  --primary: oklch(0.436 0.098 147.362);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.368 0.106 335.185);
  --secondary-foreground: oklch(0.878 0.049 332.173);
  --accent: oklch(0.368 0.106 335.185);
  --accent-foreground: oklch(0.878 0.049 332.173);
  --destructive: oklch(0.473 0.187 29.528);
  --destructive-foreground: oklch(0.948 0.025 21.233);
  --ring: oklch(0.436 0.098 147.362);
  --chart-1: oklch(0.436 0.098 147.362);
  --chart-2: oklch(0.368 0.106 335.185);
  --chart-3: oklch(0.368 0.106 335.185);
  --chart-4: oklch(0.396 0.116 335.245);
  --chart-5: oklch(0.441 0.103 147.117);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.02 150.283);
  --foreground: oklch(0.993 0.002 151.376);
  --muted: oklch(0.188 0.02 332.87);
  --muted-foreground: oklch(0.694 0.019 331.794);
  --popover: oklch(0.154 0.02 150.283);
  --popover-foreground: oklch(0.993 0.002 151.376);
  --card: oklch(0.168 0.023 149.601);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.279 0.023 150.137);
  --input: oklch(0.279 0.023 150.137);
  --primary: oklch(0.436 0.098 147.362);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.368 0.106 335.185);
  --secondary-foreground: oklch(0.878 0.049 332.173);
  --accent: oklch(0.368 0.106 335.185);
  --accent-foreground: oklch(0.878 0.049 332.173);
  --destructive: oklch(0.626 0.238 29.213);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.436 0.098 147.362);
  --chart-1: oklch(0.436 0.098 147.362);
  --chart-2: oklch(0.368 0.106 335.185);
  --chart-3: oklch(0.368 0.106 335.185);
  --chart-4: oklch(0.396 0.116 335.245);
  --chart-5: oklch(0.441 0.103 147.117);
}