Mustard is a shadcn/ui theme built around a vivid light orange primary color (#f5d4ad) with vivid light violet accents (#d4adf5). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the vivid light orange primary (#f5d4ad) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #040301black |
| Foreground | #090501black | #faf8f4whitesmoke |
| Card | #fcfaf8snow | #080502black |
| Card foreground | #050301black | #fcfaf8snow |
| Popover | #fcfaf8snow | #080502black |
| Popover foreground | #050301black | #fcfaf8snow |
| Primary | #f5d4adwheat | #f5d4adwheat |
| Primary foreground | #643b0csaddlebrown | #643b0csaddlebrown |
| Secondary | #adf5d4paleturquoise | #adf5d4paleturquoise |
| Secondary foreground | #010905black | #010905black |
| Muted | #cfe7dcgainsboro | #183025darkslategray |
| Muted foreground | #3a4a43darkslategray | #b5c5bdsilver |
| Accent | #d4adf5plum | #d4adf5plum |
| Accent foreground | #3b0c64indigo | #3b0c64indigo |
| Destructive | #d9350dorangered | #d9350dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5d4adwheat | #f5d4adwheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.84:1 | AA |
| Secondary button | 16.13:1 | AAA |
| Muted text | 7.21:1 | AAA |
| Accent | 7.78:1 | AAA |
| Destructive | 4.69:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 6.84:1 | AA |
| Secondary button | 16.13:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 7.78:1 | AAA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Mustard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 71.435);
--foreground: oklch(0.121 0.019 81.924);
--muted: oklch(0.908 0.03 165.983);
--muted-foreground: oklch(0.394 0.024 165.147);
--popover: oklch(0.986 0.004 71.42);
--popover-foreground: oklch(0.096 0.015 81.924);
--card: oklch(0.986 0.004 71.42);
--card-foreground: oklch(0.096 0.015 81.924);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.887 0.063 70.601);
--primary-foreground: oklch(0.394 0.082 63.525);
--secondary: oklch(0.914 0.086 164.019);
--secondary-foreground: oklch(0.127 0.022 167.18);
--accent: oklch(0.806 0.108 308.442);
--accent-foreground: oklch(0.295 0.14 302.004);
--destructive: oklch(0.581 0.205 33.628);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.887 0.063 70.601);
--chart-1: oklch(0.887 0.063 70.601);
--chart-2: oklch(0.914 0.086 164.019);
--chart-3: oklch(0.806 0.108 308.442);
--chart-4: oklch(0.927 0.072 164.58);
--chart-5: oklch(0.889 0.066 70.558);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.01 78.818);
--foreground: oklch(0.979 0.005 71.406);
--muted: oklch(0.285 0.037 162.575);
--muted-foreground: oklch(0.808 0.02 166.21);
--popover: oklch(0.12 0.013 78.818);
--popover-foreground: oklch(0.986 0.003 71.421);
--card: oklch(0.12 0.013 78.818);
--card-foreground: oklch(0.986 0.003 71.421);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.887 0.063 70.601);
--primary-foreground: oklch(0.394 0.082 63.525);
--secondary: oklch(0.914 0.086 164.019);
--secondary-foreground: oklch(0.127 0.022 167.18);
--accent: oklch(0.806 0.108 308.442);
--accent-foreground: oklch(0.295 0.14 302.004);
--destructive: oklch(0.581 0.205 33.628);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.887 0.063 70.601);
--chart-1: oklch(0.887 0.063 70.601);
--chart-2: oklch(0.914 0.086 164.019);
--chart-3: oklch(0.806 0.108 308.442);
--chart-4: oklch(0.927 0.072 164.58);
--chart-5: oklch(0.889 0.066 70.558);
}