Brave Gǎn Lǎn Huáng Olive for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button17.82:1AAA
Secondary button14.26:1AAA
Muted text6.02:1AA
Accent15.87:1AAA
Destructive6.91:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.85:1AAA
Primary button17.82:1AAA
Secondary button14.26:1AAA
Muted text7.31:1AAA
Accent15.87:1AAA
Destructive3.55:1AA Large

CSS variables

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);
}