Used is a shadcn/ui theme built around a neutral gray primary color (#7b7974) with muted orange accents (#c9bfb0). The light mode uses a neutral background (#fefdfb). Dark mode keeps the neutral gray primary (#7b7974) on an orange-tinted background (#0e0b06).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0e0b06black |
| Foreground | #0d0902black | #ffffffwhite |
| Card | #fefdfbsnow | #0e0b06black |
| Card foreground | #0d0902black | #ffffffwhite |
| Popover | #fefdfbsnow | #0e0b06black |
| Popover foreground | #0d0902black | #ffffffwhite |
| Primary | #7b7974gray | #7b7974gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d6d2cdlightgrey | #29251eblack |
| Secondary foreground | #3e3932darkslategray | #c7bfb2silver |
| Muted | #f1f0efwhitesmoke | #100f0eblack |
| Muted foreground | #70685cdimgray | #a39b8frosybrown |
| Accent | #c9bfb0silver | #3e3528darkslategray |
| Accent foreground | #2a251dblack | #d7cec1lightgrey |
| Destructive | #8c1e0ddarkred | #d22d14firebrick |
| Destructive foreground | #fbd6d0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7b7974gray | #7b7974gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 4.36:1 | AA Large |
| Secondary button | 7.59:1 | AAA |
| Muted text | 4.81:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.62:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 4.36:1 | AA Large |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 7.70:1 | AAA |
| Destructive | 5.09:1 | AA |
Paste this into your globals.css to use Used in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 78.303);
--foreground: oklch(0.141 0.019 85.507);
--muted: oklch(0.955 0.002 78.307);
--muted-foreground: oklch(0.521 0.021 78.111);
--popover: oklch(0.994 0.003 78.303);
--popover-foreground: oklch(0.141 0.019 85.507);
--card: oklch(0.994 0.003 78.303);
--card-foreground: oklch(0.141 0.019 85.507);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.576 0.007 78.268);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.865 0.009 78.28);
--secondary-foreground: oklch(0.348 0.013 78.136);
--accent: oklch(0.809 0.024 78.188);
--accent-foreground: oklch(0.268 0.017 77.919);
--destructive: oklch(0.42 0.148 31.626);
--destructive-foreground: oklch(0.905 0.042 28.239);
--ring: oklch(0.576 0.007 78.268);
--chart-1: oklch(0.576 0.007 78.268);
--chart-2: oklch(0.865 0.009 78.28);
--chart-3: oklch(0.809 0.024 78.188);
--chart-4: oklch(0.888 0.007 78.287);
--chart-5: oklch(0.58 0.015 78.209);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.013 80.458);
--foreground: oklch(1 0 180);
--muted: oklch(0.171 0.003 78.26);
--muted-foreground: oklch(0.693 0.02 78.19);
--popover: oklch(0.152 0.013 80.458);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.152 0.013 80.458);
--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.576 0.007 78.268);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.267 0.014 78.012);
--secondary-foreground: oklch(0.807 0.02 78.213);
--accent: oklch(0.335 0.026 77.733);
--accent-foreground: oklch(0.856 0.021 78.215);
--destructive: oklch(0.562 0.204 31.537);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.576 0.007 78.268);
--chart-1: oklch(0.576 0.007 78.268);
--chart-2: oklch(0.267 0.014 78.012);
--chart-3: oklch(0.335 0.026 77.733);
--chart-4: oklch(0.299 0.017 77.987);
--chart-5: oklch(0.58 0.015 78.209);
}