Organic is a shadcn/ui theme built around a near-black primary color (#090a06) with near-black accents (#070a06). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the near-black primary (#090a06) on a green-tinted background (#090b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #090b05black |
| Foreground | #0b0d02black | #fdfdfcwhite |
| Card | #fbfbf8snow | #090b05black |
| Card foreground | #0b0d02black | #fdfdfcwhite |
| Popover | #fbfbf8snow | #090b05black |
| Popover foreground | #0b0d02black | #fdfdfcwhite |
| Primary | #090a06black | #090a06black |
| Primary foreground | #aebb86darkkhaki | #aebb86darkkhaki |
| Secondary | #0a0906black | #0a0906black |
| Secondary foreground | #bbae86tan | #bbae86tan |
| Muted | #f4f3f1whitesmoke | #0e0d0bblack |
| Muted foreground | #6c685adimgray | #a5a093darkgray |
| Accent | #070a06black | #070a06black |
| Accent foreground | #93bb86darkseagreen | #93bb86darkseagreen |
| Destructive | #7c3004saddlebrown | #f86612orangered |
| Destructive foreground | #fdcfb5peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #090a06black | #090a06black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 9.70:1 | AAA |
| Secondary button | 9.03:1 | AAA |
| Muted text | 5.02:1 | AA |
| Accent | 9.20:1 | AAA |
| Destructive | 6.49:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 9.70:1 | AAA |
| Secondary button | 9.03:1 | AAA |
| Muted text | 7.42:1 | AAA |
| Accent | 9.20:1 | AAA |
| Destructive | 6.88:1 | AA |
Paste this into your globals.css to use Organic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 117.898);
--foreground: oklch(0.153 0.029 118.841);
--muted: oklch(0.964 0.003 91.435);
--muted-foreground: oklch(0.517 0.021 91.708);
--popover: oklch(0.988 0.004 117.898);
--popover-foreground: oklch(0.153 0.029 118.841);
--card: oklch(0.988 0.004 117.898);
--card-foreground: oklch(0.153 0.029 118.841);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.14 0.011 117.933);
--primary-foreground: oklch(0.769 0.073 119.552);
--secondary: oklch(0.138 0.009 94.061);
--secondary-foreground: oklch(0.751 0.056 91.814);
--accent: oklch(0.138 0.012 136.899);
--accent-foreground: oklch(0.75 0.085 138);
--destructive: oklch(0.411 0.117 44.023);
--destructive-foreground: oklch(0.888 0.063 51.683);
--ring: oklch(0.14 0.011 117.933);
--chart-1: oklch(0.14 0.011 117.933);
--chart-2: oklch(0.138 0.009 94.061);
--chart-3: oklch(0.138 0.012 136.899);
--chart-4: oklch(0.18 0.013 91.812);
--chart-5: oklch(0.141 0.012 117.943);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.015 118.028);
--foreground: oklch(0.994 0.002 117.851);
--muted: oklch(0.161 0.004 91.629);
--muted-foreground: oklch(0.706 0.02 91.63);
--popover: oklch(0.144 0.015 118.028);
--popover-foreground: oklch(0.994 0.002 117.851);
--card: oklch(0.144 0.015 118.028);
--card-foreground: oklch(0.994 0.002 117.851);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.14 0.011 117.933);
--primary-foreground: oklch(0.769 0.073 119.552);
--secondary: oklch(0.138 0.009 94.061);
--secondary-foreground: oklch(0.751 0.056 91.814);
--accent: oklch(0.138 0.012 136.899);
--accent-foreground: oklch(0.75 0.085 138);
--destructive: oklch(0.685 0.196 43.442);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.14 0.011 117.933);
--chart-1: oklch(0.14 0.011 117.933);
--chart-2: oklch(0.138 0.009 94.061);
--chart-3: oklch(0.138 0.012 136.899);
--chart-4: oklch(0.18 0.013 91.812);
--chart-5: oklch(0.141 0.012 117.943);
}