Underworld Iguana for shadcn/ui

Underworld Iguana is a shadcn/ui theme built around a muted deep green primary color (#22271c) with muted deep pink accents (#271c22). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted deep green primary (#22271c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfefbwhite
#000000black
Foreground
#050901black
#ffffffwhite
Card
#fdfefbwhite
#000000black
Card foreground
#050901black
#ffffffwhite
Popover
#fdfefbwhite
#000000black
Popover foreground
#050901black
#ffffffwhite
Primary
#22271cblack
#22271cblack
Primary foreground
#bbc6aesilver
#bbc6aesilver
Secondary
#1c2227black
#1c2227black
Secondary foreground
#aebbc6silver
#aebbc6silver
Muted
#edf3f7whitesmoke
#080d12black
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#271c22black
#271c22black
Accent foreground
#c6aebbsilver
#c6aebbsilver
Destructive
#bd3314firebrick
#e84621orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ebede8linen
#1c2018black
Input
#ebede8linen
#1c2018black
Ring
#22271cblack
#22271cblack

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button8.60:1AAA
Secondary button8.23:1AAA
Muted text5.52:1AA
Accent8.01:1AAA
Destructive5.75:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.60:1AAA
Secondary button8.23:1AAA
Muted text7.27:1AAA
Accent8.01:1AAA
Destructive3.95:1AA Large

CSS variables

Paste this into your globals.css to use Underworld Iguana in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.005 126.491);
  --foreground: oklch(0.13 0.025 125.26);
  --muted: oklch(0.961 0.008 242.309);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.995 0.005 126.491);
  --popover-foreground: oklch(0.13 0.025 125.26);
  --card: oklch(0.995 0.005 126.491);
  --card-foreground: oklch(0.13 0.025 125.26);
  --border: oklch(0.944 0.008 126.538);
  --input: oklch(0.944 0.008 126.538);
  --primary: oklch(0.263 0.022 127.527);
  --primary-foreground: oklch(0.811 0.034 126.977);
  --secondary: oklch(0.247 0.013 242.924);
  --secondary-foreground: oklch(0.786 0.021 242.543);
  --accent: oklch(0.241 0.021 344.623);
  --accent-foreground: oklch(0.776 0.032 343.602);
  --destructive: oklch(0.53 0.18 33.576);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.263 0.022 127.527);
  --chart-1: oklch(0.263 0.022 127.527);
  --chart-2: oklch(0.247 0.013 242.924);
  --chart-3: oklch(0.241 0.021 344.623);
  --chart-4: oklch(0.278 0.016 242.97);
  --chart-5: oklch(0.266 0.025 127.714);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.157 0.013 242.606);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.237 0.016 127.293);
  --input: oklch(0.237 0.016 127.293);
  --primary: oklch(0.263 0.022 127.527);
  --primary-foreground: oklch(0.811 0.034 126.977);
  --secondary: oklch(0.247 0.013 242.924);
  --secondary-foreground: oklch(0.786 0.021 242.543);
  --accent: oklch(0.241 0.021 344.623);
  --accent-foreground: oklch(0.776 0.032 343.602);
  --destructive: oklch(0.623 0.204 33.795);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.263 0.022 127.527);
  --chart-1: oklch(0.263 0.022 127.527);
  --chart-2: oklch(0.247 0.013 242.924);
  --chart-3: oklch(0.241 0.021 344.623);
  --chart-4: oklch(0.278 0.016 242.97);
  --chart-5: oklch(0.266 0.025 127.714);
}