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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 5.52:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 5.75:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 3.95:1 | AA Large |
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);
}