Brave Gǎn Lǎn Huáng Olive is a shadcn/ui theme built around a vivid green primary color (#c9ff33) with vivid green accents (#63ff33). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#c9ff33) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #000000black | #fbfbf9snow |
| Card | #fcfcfcsnow | #060703black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fcfcfcsnow | #060703black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #c9ff33greenyellow | #c9ff33greenyellow |
| Primary foreground | #000000black | #000000black |
| Secondary | #ffcf33gold | #ffcf33gold |
| Secondary foreground | #000000black | #000000black |
| Muted | #f1eee4linen | #1b180eblack |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #63ff33lawngreen | #63ff33lawngreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #650e01maroon | #fe3d20orangered |
| Destructive foreground | #fea79alightsalmon | #ffffffwhite |
| Border | #e7e9e2gainsboro | #1e2018black |
| Input | #e7e9e2gainsboro | #1e2018black |
| Ring | #c9ff33greenyellow | #c9ff33greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 17.82:1 | AAA |
| Secondary button | 14.26:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 15.87:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 17.82:1 | AAA |
| Secondary button | 14.26:1 | AAA |
| Muted text | 7.31:1 | AAA |
| Accent | 15.87:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Brave Gǎn Lǎn Huáng Olive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.948 0.013 92.786);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.931 0.01 118.762);
--input: oklch(0.931 0.01 118.762);
--primary: oklch(0.93 0.219 124.404);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.873 0.166 90.409);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.882 0.265 139.9);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.329 0.122 32.426);
--destructive-foreground: oklch(0.811 0.106 29.145);
--ring: oklch(0.93 0.219 124.404);
--chart-1: oklch(0.93 0.219 124.404);
--chart-2: oklch(0.873 0.166 90.409);
--chart-3: oklch(0.882 0.265 139.9);
--chart-4: oklch(0.881 0.16 91.203);
--chart-5: oklch(0.937 0.223 124.556);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.01 118.624);
--foreground: oklch(0.988 0.004 118.632);
--muted: oklch(0.208 0.018 93.17);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0.124 0.012 118.624);
--popover-foreground: oklch(0.994 0.002 118.599);
--card: oklch(0.124 0.012 118.624);
--card-foreground: oklch(0.994 0.002 118.599);
--border: oklch(0.239 0.016 119.737);
--input: oklch(0.239 0.016 119.737);
--primary: oklch(0.93 0.219 124.404);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.873 0.166 90.409);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.882 0.265 139.9);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.653 0.231 31.614);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.93 0.219 124.404);
--chart-1: oklch(0.93 0.219 124.404);
--chart-2: oklch(0.873 0.166 90.409);
--chart-3: oklch(0.882 0.265 139.9);
--chart-4: oklch(0.881 0.16 91.203);
--chart-5: oklch(0.937 0.223 124.556);
}