Cadmium Orange Cow is a shadcn/ui theme built around a vivid orange primary color (#f28526) with muted light orange accents (#eeeae7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f28526) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #100a04black | #faf7f5whitesmoke |
| Card | #fcfcfcsnow | #080502black |
| Card foreground | #0c0703black | #fbfaf8snow |
| Popover | #fcfcfcsnow | #080502black |
| Popover foreground | #0c0703black | #fbfaf8snow |
| Primary | #f28526goldenrod | #f28526goldenrod |
| Primary foreground | #000000black | #000000black |
| Secondary | #eeeae7linen | #27211bblack |
| Secondary foreground | #5f5145darkolivegreen | #c7b9adsilver |
| Muted | #eadacdgainsboro | #322315black |
| Muted foreground | #4f4740darkslategray | #bfb7b0silver |
| Accent | #eeeae7linen | #27211bblack |
| Accent foreground | #5f5145darkolivegreen | #c7b9adsilver |
| Destructive | #d93c08orangered | #f64409orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f3f2f2whitesmoke | #1d1c1bblack |
| Input | #f3f2f2whitesmoke | #1d1c1bblack |
| Ring | #f28526goldenrod | #f28526goldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 6.68:1 | AA |
| Accent | 6.40:1 | AA |
| Destructive | 4.57:1 | AA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 8.32:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Cadmium Orange Cow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.15 0.017 68.348);
--muted: oklch(0.898 0.025 63.733);
--muted-foreground: oklch(0.403 0.015 63.596);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.135 0.015 71.714);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.135 0.015 71.714);
--border: oklch(0.962 0.001 64.075);
--input: oklch(0.962 0.001 64.075);
--primary: oklch(0.724 0.165 55.479);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.94 0.006 64.015);
--secondary-foreground: oklch(0.444 0.027 63.246);
--accent: oklch(0.94 0.006 64.015);
--accent-foreground: oklch(0.444 0.027 63.246);
--destructive: oklch(0.586 0.2 35.43);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.724 0.165 55.479);
--chart-1: oklch(0.724 0.165 55.479);
--chart-2: oklch(0.94 0.006 64.015);
--chart-3: oklch(0.94 0.006 64.015);
--chart-4: oklch(0.963 0.003 64.044);
--chart-5: oklch(0.729 0.17 54.94);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.011 72.891);
--foreground: oklch(0.978 0.004 64.041);
--muted: oklch(0.27 0.033 61.947);
--muted-foreground: oklch(0.784 0.013 63.882);
--popover: oklch(0.118 0.014 72.891);
--popover-foreground: oklch(0.985 0.002 64.057);
--card: oklch(0.118 0.014 72.891);
--card-foreground: oklch(0.985 0.002 64.057);
--border: oklch(0.227 0.003 63.898);
--input: oklch(0.227 0.003 63.898);
--primary: oklch(0.724 0.165 55.479);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.252 0.015 63.267);
--secondary-foreground: oklch(0.795 0.023 63.708);
--accent: oklch(0.252 0.015 63.267);
--accent-foreground: oklch(0.795 0.023 63.708);
--destructive: oklch(0.645 0.221 35.261);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.724 0.165 55.479);
--chart-1: oklch(0.724 0.165 55.479);
--chart-2: oklch(0.252 0.015 63.267);
--chart-3: oklch(0.252 0.015 63.267);
--chart-4: oklch(0.285 0.018 63.212);
--chart-5: oklch(0.729 0.17 54.94);
}