Mustard is a shadcn/ui theme built around a deep blue primary color (#132471) with deep yellow accents (#716013). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the deep blue primary (#132471) on a neutral background (#020308).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #020308black |
| Foreground | #03040dblack | #fcfcfdwhite |
| Card | #f8f9fcghostwhite | #020308black |
| Card foreground | #03040dblack | #fcfcfdwhite |
| Popover | #f8f9fcghostwhite | #020308black |
| Popover foreground | #03040dblack | #fcfcfdwhite |
| Primary | #132471midnightblue | #132471midnightblue |
| Primary foreground | #c2cbf5lightblue | #c2cbf5lightblue |
| Secondary | #716013saddlebrown | #716013saddlebrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4e2d8gainsboro | #27251bblack |
| Muted foreground | #5d5c56dimgray | #a9a8a2darkgray |
| Accent | #716013saddlebrown | #716013saddlebrown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #61250amaroon | #e95c1cchocolate |
| Destructive foreground | #f6c0a7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #132471midnightblue | #132471midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 8.61:1 | AAA |
| Secondary button | 6.18:1 | AA |
| Muted text | 5.15:1 | AA |
| Accent | 6.18:1 | AA |
| Destructive | 7.28:1 | AAA |
| Text on background | 20.07:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 8.61:1 | AAA |
| Secondary button | 6.18:1 | AA |
| Muted text | 6.43:1 | AA |
| Accent | 6.18:1 | AA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Mustard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 276.116);
--foreground: oklch(0.113 0.023 267.696);
--muted: oklch(0.911 0.014 96.355);
--muted-foreground: oklch(0.472 0.009 96.406);
--popover: oklch(0.982 0.004 276.116);
--popover-foreground: oklch(0.113 0.023 267.696);
--card: oklch(0.982 0.004 276.116);
--card-foreground: oklch(0.113 0.023 267.696);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.307 0.134 267.51);
--primary-foreground: oklch(0.849 0.059 275.157);
--secondary: oklch(0.492 0.093 95.523);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.492 0.093 95.523);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.35 0.095 42.18);
--destructive-foreground: oklch(0.85 0.071 46.074);
--ring: oklch(0.307 0.134 267.51);
--chart-1: oklch(0.307 0.134 267.51);
--chart-2: oklch(0.492 0.093 95.523);
--chart-3: oklch(0.492 0.093 95.523);
--chart-4: oklch(0.532 0.102 95.433);
--chart-5: oklch(0.306 0.139 267.112);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.018 268.811);
--foreground: oklch(0.991 0.001 276.147);
--muted: oklch(0.264 0.019 96.883);
--muted-foreground: oklch(0.731 0.008 96.308);
--popover: oklch(0.101 0.018 268.811);
--popover-foreground: oklch(0.991 0.001 276.147);
--card: oklch(0.101 0.018 268.811);
--card-foreground: oklch(0.991 0.001 276.147);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.307 0.134 267.51);
--primary-foreground: oklch(0.849 0.059 275.157);
--secondary: oklch(0.492 0.093 95.523);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.492 0.093 95.523);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.65 0.187 41.188);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.307 0.134 267.51);
--chart-1: oklch(0.307 0.134 267.51);
--chart-2: oklch(0.492 0.093 95.523);
--chart-3: oklch(0.492 0.093 95.523);
--chart-4: oklch(0.532 0.102 95.433);
--chart-5: oklch(0.306 0.139 267.112);
}