Cultivated is a shadcn/ui theme built around a deep orange primary color (#422f10) with deep violet accents (#2f1042). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#422f10) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080602black | #faf8f5whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040301black | #fbfaf8snow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040301black | #fbfaf8snow |
| Primary | #422f10darkolivegreen | #422f10darkolivegreen |
| Primary foreground | #e8cb9cburlywood | #e8cb9cburlywood |
| Secondary | #10422fdarkslategray | #10422fdarkslategray |
| Secondary foreground | #49d49fmediumaquamarine | #49d49fmediumaquamarine |
| Muted | #dfe2e1gainsboro | #1d201fblack |
| Muted foreground | #515855dimgray | #a7aeacdarkgray |
| Accent | #2f1042midnightblue | #2f1042midnightblue |
| Accent foreground | #cb9ce8plum | #cb9ce8plum |
| Destructive | #9b2403firebrick | #f53905orangered |
| Destructive foreground | #fedcd2blanchedalmond | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #422f10darkolivegreen | #422f10darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 6.07:1 | AA |
| Muted text | 5.59:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.18:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 6.07:1 | AA |
| Muted text | 7.25:1 | AAA |
| Accent | 7.45:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Cultivated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.013 86.259);
--muted: oklch(0.91 0.004 171.476);
--muted-foreground: oklch(0.452 0.009 170.974);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.097 0.01 86.259);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.097 0.01 86.259);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.32 0.053 76.474);
--primary-foreground: oklch(0.854 0.069 79.402);
--secondary: oklch(0.34 0.063 163.48);
--secondary-foreground: oklch(0.782 0.143 163.781);
--accent: oklch(0.249 0.093 309.522);
--accent-foreground: oklch(0.762 0.117 311.92);
--destructive: oklch(0.453 0.159 34.289);
--destructive-foreground: oklch(0.919 0.041 35.944);
--ring: oklch(0.32 0.053 76.474);
--chart-1: oklch(0.32 0.053 76.474);
--chart-2: oklch(0.34 0.063 163.48);
--chart-3: oklch(0.249 0.093 309.522);
--chart-4: oklch(0.381 0.072 163.155);
--chart-5: oklch(0.322 0.055 76.112);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.979 0.004 79.927);
--muted: oklch(0.24 0.005 170.974);
--muted-foreground: oklch(0.745 0.008 171.263);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.986 0.003 79.929);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.003 79.929);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.32 0.053 76.474);
--primary-foreground: oklch(0.854 0.069 79.402);
--secondary: oklch(0.34 0.063 163.48);
--secondary-foreground: oklch(0.782 0.143 163.781);
--accent: oklch(0.249 0.093 309.522);
--accent-foreground: oklch(0.762 0.117 311.92);
--destructive: oklch(0.633 0.228 33.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.32 0.053 76.474);
--chart-1: oklch(0.32 0.053 76.474);
--chart-2: oklch(0.34 0.063 163.48);
--chart-3: oklch(0.249 0.093 309.522);
--chart-4: oklch(0.381 0.072 163.155);
--chart-5: oklch(0.322 0.055 76.112);
}