Jungle is a shadcn/ui theme built around a muted deep green primary color (#151915) with muted light green accents (#c6dcc8). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#151915) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020803black |
| Foreground | #040c04black | #ffffffwhite |
| Card | #ffffffwhite | #020803black |
| Card foreground | #040c04black | #ffffffwhite |
| Popover | #ffffffwhite | #020803black |
| Popover foreground | #040c04black | #ffffffwhite |
| Primary | #151915black | #151915black |
| Primary foreground | #a9b7aadarkgray | #a9b7aadarkgray |
| Secondary | #e7eee8linen | #202220black |
| Secondary foreground | #19241ablack | #b7bdb8silver |
| Muted | #dff1e0gainsboro | #0e200fblack |
| Muted foreground | #3c443cdarkslategray | #bbc3bcsilver |
| Accent | #c6dcc8lightgrey | #283329darkslategray |
| Accent foreground | #2b462cdarkslategray | #c0cec1silver |
| Destructive | #ae2c0ffirebrick | #e63a14orangered |
| Destructive foreground | #fef3f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #151915black | #151915black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.49:1 | AAA |
| Secondary button | 13.60:1 | AAA |
| Muted text | 8.54:1 | AAA |
| Accent | 7.18:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 8.49:1 | AAA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 9.45:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Jungle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.024 146.256);
--muted: oklch(0.94 0.029 147.234);
--muted-foreground: oklch(0.376 0.016 147.124);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.139 0.024 146.256);
--card: oklch(1 0 180);
--card-foreground: oklch(0.139 0.024 146.256);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.208 0.01 147.067);
--primary-foreground: oklch(0.765 0.024 147.225);
--secondary: oklch(0.942 0.011 147.427);
--secondary-foreground: oklch(0.246 0.023 146.549);
--accent: oklch(0.873 0.037 147.122);
--accent-foreground: oklch(0.363 0.054 145.926);
--destructive: oklch(0.496 0.17 33.462);
--destructive-foreground: oklch(0.973 0.012 32.664);
--ring: oklch(0.208 0.01 147.067);
--chart-1: oklch(0.208 0.01 147.067);
--chart-2: oklch(0.942 0.011 147.427);
--chart-3: oklch(0.873 0.037 147.122);
--chart-4: oklch(0.964 0.007 147.474);
--chart-5: oklch(0.209 0.013 146.907);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.023 146.128);
--foreground: oklch(1 0 180);
--muted: oklch(0.222 0.04 145.533);
--muted-foreground: oklch(0.809 0.013 147.386);
--popover: oklch(0.122 0.023 146.128);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.023 146.128);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.208 0.01 147.067);
--primary-foreground: oklch(0.765 0.024 147.225);
--secondary: oklch(0.25 0.006 147.305);
--secondary-foreground: oklch(0.792 0.009 147.428);
--accent: oklch(0.309 0.024 146.758);
--accent-foreground: oklch(0.836 0.023 147.275);
--destructive: oklch(0.609 0.213 33.288);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.208 0.01 147.067);
--chart-1: oklch(0.208 0.01 147.067);
--chart-2: oklch(0.25 0.006 147.305);
--chart-3: oklch(0.309 0.024 146.758);
--chart-4: oklch(0.282 0.007 147.291);
--chart-5: oklch(0.209 0.013 146.907);
}