Natural is a shadcn/ui theme built around a muted deep teal primary color (#2d3432) with muted deep cyan accents (#2d3234). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the muted deep teal primary (#2d3432) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #010403black |
| Foreground | #020806black | #ffffffwhite |
| Card | #f4fbf9mintcream | #020807black |
| Card foreground | #010403black | #ffffffwhite |
| Popover | #f4fbf9mintcream | #020807black |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #2d3432darkslategray | #2d3432darkslategray |
| Primary foreground | #c5cecclightgrey | #c5cecclightgrey |
| Secondary | #2d342fdarkslategray | #2d342fdarkslategray |
| Secondary foreground | #c5cec7silver | #c5cec7silver |
| Muted | #ecf3eewhitesmoke | #0c130dblack |
| Muted foreground | #5b625cdimgray | #9da49fdarkgray |
| Accent | #2d3234darkslategray | #2d3234darkslategray |
| Accent foreground | #c5cccelightgrey | #c5cccelightgrey |
| Destructive | #c52602firebrick | #fd4117orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2d3432darkslategray | #2d3432darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 5.57:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 5.75:1 | AA |
| Text on background | 20.58:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 7.95:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Natural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 179.719);
--foreground: oklch(0.124 0.013 179.91);
--muted: oklch(0.958 0.011 153.688);
--muted-foreground: oklch(0.488 0.013 153.42);
--popover: oklch(0.982 0.008 179.644);
--popover-foreground: oklch(0.098 0.01 179.91);
--card: oklch(0.982 0.008 179.644);
--card-foreground: oklch(0.098 0.01 179.91);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.318 0.011 178.834);
--primary-foreground: oklch(0.843 0.01 179.532);
--secondary: oklch(0.317 0.015 153.061);
--secondary-foreground: oklch(0.842 0.013 153.617);
--accent: oklch(0.314 0.009 219.751);
--accent-foreground: oklch(0.84 0.008 219.576);
--destructive: oklch(0.533 0.198 32.545);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.318 0.011 178.834);
--chart-1: oklch(0.318 0.011 178.834);
--chart-2: oklch(0.317 0.015 153.061);
--chart-3: oklch(0.314 0.009 219.751);
--chart-4: oklch(0.348 0.017 153.035);
--chart-5: oklch(0.321 0.015 178.455);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.011 179.913);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.016 152.227);
--muted-foreground: oklch(0.712 0.012 153.594);
--popover: oklch(0.124 0.014 179.913);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.014 179.913);
--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.318 0.011 178.834);
--primary-foreground: oklch(0.843 0.01 179.532);
--secondary: oklch(0.317 0.015 153.061);
--secondary-foreground: oklch(0.842 0.013 153.617);
--accent: oklch(0.314 0.009 219.751);
--accent-foreground: oklch(0.84 0.008 219.576);
--destructive: oklch(0.653 0.229 33.269);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.318 0.011 178.834);
--chart-1: oklch(0.318 0.011 178.834);
--chart-2: oklch(0.317 0.015 153.061);
--chart-3: oklch(0.314 0.009 219.751);
--chart-4: oklch(0.348 0.017 153.035);
--chart-5: oklch(0.321 0.015 178.455);
}