These is a shadcn/ui theme built around a muted yellow primary color (#acaa8b) with muted green accents (#9eac8b). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the muted yellow primary (#acaa8b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #000000black |
| Foreground | #101004black | #fdfdfcwhite |
| Card | #fcfbf8snow | #000000black |
| Card foreground | #101004black | #fdfdfcwhite |
| Popover | #fcfbf8snow | #000000black |
| Popover foreground | #101004black | #fdfdfcwhite |
| Primary | #acaa8bdarkgray | #acaa8bdarkgray |
| Primary foreground | #030302black | #030302black |
| Secondary | #ac998brosybrown | #ac998brosybrown |
| Secondary foreground | #030202black | #030202black |
| Muted | #eee4ddantiquewhite | #221811black |
| Muted foreground | #534941darkolivegreen | #beb4acsilver |
| Accent | #9eac8bdarkseagreen | #9eac8bdarkseagreen |
| Accent foreground | #030302black | #030302black |
| Destructive | #75110amaroon | #ed4235tomato |
| Destructive foreground | #f9bdb9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #acaa8bdarkgray | #acaa8bdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.52:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 8.74:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 8.60:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 8.74:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 8.60:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use These in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 103.181);
--foreground: oklch(0.168 0.024 105.521);
--muted: oklch(0.926 0.015 60.065);
--muted-foreground: oklch(0.412 0.019 59.654);
--popover: oklch(0.989 0.004 103.181);
--popover-foreground: oklch(0.168 0.024 105.521);
--card: oklch(0.989 0.004 103.181);
--card-foreground: oklch(0.168 0.024 105.521);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.732 0.044 104.046);
--primary-foreground: oklch(0.095 0.004 104.126);
--secondary: oklch(0.697 0.031 59.661);
--secondary-foreground: oklch(0.092 0.003 62.693);
--accent: oklch(0.725 0.05 126.693);
--accent-foreground: oklch(0.095 0.005 125.451);
--destructive: oklch(0.365 0.135 29.483);
--destructive-foreground: oklch(0.851 0.07 23.311);
--ring: oklch(0.732 0.044 104.046);
--chart-1: oklch(0.732 0.044 104.046);
--chart-2: oklch(0.697 0.031 59.661);
--chart-3: oklch(0.725 0.05 126.693);
--chart-4: oklch(0.721 0.028 59.736);
--chart-5: oklch(0.739 0.051 104.178);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 103.143);
--muted: oklch(0.22 0.021 58.792);
--muted-foreground: oklch(0.776 0.016 60.004);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 103.143);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 103.143);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.732 0.044 104.046);
--primary-foreground: oklch(0.095 0.004 104.126);
--secondary: oklch(0.697 0.031 59.661);
--secondary-foreground: oklch(0.092 0.003 62.693);
--accent: oklch(0.725 0.05 126.693);
--accent-foreground: oklch(0.095 0.005 125.451);
--destructive: oklch(0.63 0.21 28.695);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.732 0.044 104.046);
--chart-1: oklch(0.732 0.044 104.046);
--chart-2: oklch(0.697 0.031 59.661);
--chart-3: oklch(0.725 0.05 126.693);
--chart-4: oklch(0.721 0.028 59.736);
--chart-5: oklch(0.739 0.051 104.178);
}