Cultured is a shadcn/ui theme built around a green primary color (#50e26f) with red accents (#e26f50). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#50e26f) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #020402black |
| Foreground | #020e04black | #f8fcf9mintcream |
| Card | #fbfefcwhite | #020402black |
| Card foreground | #020e04black | #f8fcf9mintcream |
| Popover | #fbfefcwhite | #020402black |
| Popover foreground | #020e04black | #f8fcf9mintcream |
| Primary | #50e26fmediumseagreen | #50e26fmediumseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #6f50e2slateblue | #6f50e2slateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d4d1e0lightgrey | #221f2edarkslategray |
| Muted foreground | #565167dimgray | #9d98aedarkgray |
| Accent | #e26f50indianred | #e26f50indianred |
| Accent foreground | #000000black | #000000black |
| Destructive | #a93604saddlebrown | #ea4a06orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #50e26fmediumseagreen | #50e26fmediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 12.49:1 | AAA |
| Secondary button | 5.35:1 | AA |
| Muted text | 5.06:1 | AA |
| Accent | 6.65:1 | AA |
| Destructive | 6.53:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 12.49:1 | AAA |
| Secondary button | 5.35:1 | AA |
| Muted text | 5.80:1 | AA |
| Accent | 6.65:1 | AA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Cultured in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 152.541);
--foreground: oklch(0.144 0.032 151.227);
--muted: oklch(0.868 0.021 295.885);
--muted-foreground: oklch(0.447 0.036 294.832);
--popover: oklch(0.994 0.005 152.541);
--popover-foreground: oklch(0.144 0.032 151.227);
--card: oklch(0.994 0.005 152.541);
--card-foreground: oklch(0.144 0.032 151.227);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.81 0.2 147.446);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.548 0.211 287.182);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.672 0.151 36.394);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.497 0.159 38.358);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.81 0.2 147.446);
--chart-1: oklch(0.81 0.2 147.446);
--chart-2: oklch(0.548 0.211 287.182);
--chart-3: oklch(0.672 0.151 36.394);
--chart-4: oklch(0.579 0.197 288.676);
--chart-5: oklch(0.817 0.207 147.261);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.011 152.073);
--foreground: oklch(0.987 0.005 152.533);
--muted: oklch(0.249 0.029 294.129);
--muted-foreground: oklch(0.692 0.032 295.472);
--popover: oklch(0.096 0.011 152.073);
--popover-foreground: oklch(0.987 0.005 152.533);
--card: oklch(0.096 0.011 152.073);
--card-foreground: oklch(0.987 0.005 152.533);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.81 0.2 147.446);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.548 0.211 287.182);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.672 0.151 36.394);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.63 0.205 37.678);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.81 0.2 147.446);
--chart-1: oklch(0.81 0.2 147.446);
--chart-2: oklch(0.548 0.211 287.182);
--chart-3: oklch(0.672 0.151 36.394);
--chart-4: oklch(0.579 0.197 288.676);
--chart-5: oklch(0.817 0.207 147.261);
}