Excellent is a shadcn/ui theme built around a yellow primary color (#cfc1a5) with violet accents (#c1a5cf). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the yellow primary (#cfc1a5) on a neutral background (#080602).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #080602black |
| Foreground | #040301black | #fdfdfbsnow |
| Card | #fcfbf8snow | #0c0904black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfbf8snow | #0c0904black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #cfc1a5tan | #cfc1a5tan |
| Primary foreground | #2b2417black | #2b2417black |
| Secondary | #a5cfc1silver | #a5cfc1silver |
| Secondary foreground | #172b24black | #172b24black |
| Muted | #e8f2efwhitesmoke | #0d1714black |
| Muted foreground | #3a4b45darkslategray | #b4c5c0silver |
| Accent | #c1a5cfsilver | #c1a5cfsilver |
| Accent foreground | #24172bblack | #24172bblack |
| Destructive | #8e300bsaddlebrown | #df4b11chocolate |
| Destructive foreground | #fbdcd0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cfc1a5tan | #cfc1a5tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.73:1 | AAA |
| Muted text | 8.09:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.29:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.73:1 | AAA |
| Muted text | 10.18:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 4.07:1 | AA Large |
Paste this into your globals.css to use Excellent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 84.556);
--foreground: oklch(0.098 0.011 90.357);
--muted: oklch(0.953 0.011 174.233);
--muted-foreground: oklch(0.396 0.024 172.695);
--popover: oklch(0.987 0.003 84.56);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.003 84.56);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.815 0.04 84.563);
--primary-foreground: oklch(0.266 0.025 84.24);
--secondary: oklch(0.82 0.048 172.767);
--secondary-foreground: oklch(0.27 0.029 170.898);
--accent: oklch(0.761 0.065 314.409);
--accent-foreground: oklch(0.232 0.042 313.91);
--destructive: oklch(0.444 0.135 38.722);
--destructive-foreground: oklch(0.917 0.039 42.806);
--ring: oklch(0.815 0.04 84.563);
--chart-1: oklch(0.815 0.04 84.563);
--chart-2: oklch(0.82 0.048 172.767);
--chart-3: oklch(0.761 0.065 314.409);
--chart-4: oklch(0.84 0.042 173.026);
--chart-5: oklch(0.818 0.044 84.548);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 90.357);
--foreground: oklch(0.994 0.002 84.556);
--muted: oklch(0.193 0.016 171.833);
--muted-foreground: oklch(0.81 0.02 173.832);
--popover: oklch(0.141 0.016 89.844);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.016 89.844);
--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.815 0.04 84.563);
--primary-foreground: oklch(0.266 0.025 84.24);
--secondary: oklch(0.82 0.048 172.767);
--secondary-foreground: oklch(0.27 0.029 170.898);
--accent: oklch(0.761 0.065 314.409);
--accent-foreground: oklch(0.232 0.042 313.91);
--destructive: oklch(0.613 0.193 38.057);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.04 84.563);
--chart-1: oklch(0.815 0.04 84.563);
--chart-2: oklch(0.82 0.048 172.767);
--chart-3: oklch(0.761 0.065 314.409);
--chart-4: oklch(0.84 0.042 173.026);
--chart-5: oklch(0.818 0.044 84.548);
}