Cultured is a shadcn/ui theme built around a deep orange primary color (#4b2316) with deep violet accents (#23164b). The light mode uses a neutral background (#fbf9f8). Dark mode keeps the deep orange primary (#4b2316) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf9f8snow | #030202black |
| Foreground | #170803black | #ffffffwhite |
| Card | #faf6f5whitesmoke | #070403black |
| Card foreground | #120602black | #ffffffwhite |
| Popover | #fbf9f8snow | #030202black |
| Popover foreground | #170803black | #ffffffwhite |
| Primary | #4b2316maroon | #4b2316maroon |
| Primary foreground | #e6bbadlightpink | #e6bbadlightpink |
| Secondary | #164b23darkgreen | #164b23darkgreen |
| Secondary foreground | #ade6bbsilver | #ade6bbsilver |
| Muted | #d7dfd9gainsboro | #202822darkslategray |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #23164bmidnightblue | #23164bmidnightblue |
| Accent foreground | #bbade6lightsteelblue | #bbade6lightsteelblue |
| Destructive | #c8110efirebrick | #f02724crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4b2316maroon | #4b2316maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 4.93:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 5.91:1 | AA |
| Text on background | 20.70:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Cultured in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.003 39.49);
--foreground: oklch(0.155 0.03 45.843);
--muted: oklch(0.897 0.012 153.657);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.984 0.003 39.49);
--popover-foreground: oklch(0.155 0.03 45.843);
--card: oklch(0.976 0.004 39.481);
--card-foreground: oklch(0.142 0.026 48.096);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.309 0.064 39.016);
--primary-foreground: oklch(0.826 0.054 39.253);
--secondary: oklch(0.366 0.086 148.566);
--secondary-foreground: oklch(0.875 0.084 152.108);
--accent: oklch(0.253 0.092 289.665);
--accent-foreground: oklch(0.778 0.083 295.89);
--destructive: oklch(0.529 0.21 28.861);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.309 0.064 39.016);
--chart-1: oklch(0.309 0.064 39.016);
--chart-2: oklch(0.366 0.086 148.566);
--chart-3: oklch(0.253 0.092 289.665);
--chart-4: oklch(0.404 0.097 148.417);
--chart-5: oklch(0.31 0.067 38.949);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.006 43.56);
--foreground: oklch(1 0 180);
--muted: oklch(0.265 0.016 152.837);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.09 0.006 43.56);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.113 0.008 43.56);
--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.309 0.064 39.016);
--primary-foreground: oklch(0.826 0.054 39.253);
--secondary: oklch(0.366 0.086 148.566);
--secondary-foreground: oklch(0.875 0.084 152.108);
--accent: oklch(0.253 0.092 289.665);
--accent-foreground: oklch(0.778 0.083 295.89);
--destructive: oklch(0.613 0.232 28.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.309 0.064 39.016);
--chart-1: oklch(0.309 0.064 39.016);
--chart-2: oklch(0.366 0.086 148.566);
--chart-3: oklch(0.253 0.092 289.665);
--chart-4: oklch(0.404 0.097 148.417);
--chart-5: oklch(0.31 0.067 38.949);
}