Huáng Dì Yellow Bobcat is a shadcn/ui theme built around a vivid yellow primary color (#f7fe71) with vivid purple accents (#fe71f7). The light mode uses a neutral background (#fcfcf7). Dark mode keeps the vivid yellow primary (#f7fe71) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf7snow | #040401black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #fbfbf4floralwhite | #070802black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfbf4floralwhite | #070802black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #f7fe71khaki | #f7fe71khaki |
| Primary foreground | #3a3d00darkgreen | #3a3d00darkgreen |
| Secondary | #71f7feaquamarine | #71f7feaquamarine |
| Secondary foreground | #003a3ddarkslategray | #003a3ddarkslategray |
| Muted | #d5e1e2gainsboro | #1d2a2adarkslategray |
| Muted foreground | #444b4bdarkslategray | #b4bbbbsilver |
| Accent | #fe71f7violet | #fe71f7violet |
| Accent foreground | #3d003amidnightblue | #3d003amidnightblue |
| Destructive | #ab0f07firebrick | #dc1409red |
| Destructive foreground | #fee8e7mistyrose | #ffffffwhite |
| Border | #e9e9e7linen | #252522darkslategray |
| Input | #e9e9e7linen | #252522darkslategray |
| Ring | #f7fe71khaki | #f7fe71khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.46:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 10.50:1 | AAA |
| Secondary button | 9.84:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 10.50:1 | AAA |
| Secondary button | 9.84:1 | AAA |
| Muted text | 7.61:1 | AAA |
| Accent | 7.08:1 | AAA |
| Destructive | 5.05:1 | AA |
Paste this into your globals.css to use Huáng Dì Yellow Bobcat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.007 108.832);
--foreground: oklch(0 0 0);
--muted: oklch(0.901 0.014 200.705);
--muted-foreground: oklch(0.405 0.009 200.632);
--popover: oklch(0.986 0.01 108.894);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.01 108.894);
--card-foreground: oklch(0 0 0);
--border: oklch(0.934 0.003 108.77);
--input: oklch(0.934 0.003 108.77);
--primary: oklch(0.966 0.163 111.721);
--primary-foreground: oklch(0.345 0.077 112.892);
--secondary: oklch(0.905 0.118 200.004);
--secondary-foreground: oklch(0.316 0.054 200.586);
--accent: oklch(0.764 0.23 329.506);
--accent-foreground: oklch(0.25 0.113 330.728);
--destructive: oklch(0.472 0.186 29.492);
--destructive-foreground: oklch(0.948 0.024 21.229);
--ring: oklch(0.966 0.163 111.721);
--chart-1: oklch(0.966 0.163 111.721);
--chart-2: oklch(0.905 0.118 200.004);
--chart-3: oklch(0.764 0.23 329.506);
--chart-4: oklch(0.912 0.109 199.979);
--chart-5: oklch(0.971 0.167 111.775);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.013 110.364);
--foreground: oklch(0.994 0.001 108.733);
--muted: oklch(0.273 0.018 200.221);
--muted-foreground: oklch(0.786 0.008 200.772);
--popover: oklch(0.129 0.016 110.364);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.129 0.016 110.364);
--card-foreground: oklch(1 0 180);
--border: oklch(0.265 0.006 109.159);
--input: oklch(0.265 0.006 109.159);
--primary: oklch(0.966 0.163 111.721);
--primary-foreground: oklch(0.345 0.077 112.892);
--secondary: oklch(0.905 0.118 200.004);
--secondary-foreground: oklch(0.316 0.054 200.586);
--accent: oklch(0.764 0.23 329.506);
--accent-foreground: oklch(0.25 0.113 330.728);
--destructive: oklch(0.567 0.226 29.496);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.966 0.163 111.721);
--chart-1: oklch(0.966 0.163 111.721);
--chart-2: oklch(0.905 0.118 200.004);
--chart-3: oklch(0.764 0.23 329.506);
--chart-4: oklch(0.912 0.109 199.979);
--chart-5: oklch(0.971 0.167 111.775);
}