Kazakhstan Yellow Hawk for shadcn/ui

Kazakhstan Yellow Hawk is a shadcn/ui theme built around a vivid yellow primary color (#ffc505) with vivid green accents (#bcff05). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the vivid yellow primary (#ffc505) on a yellow-tinted background (#100d05).

Color palette

TokenLightDark
Background
#fbfbf8snow
#100d05black
Foreground
#171203black
#fcfbf8snow
Card
#faf9f5whitesmoke
#131006black
Card foreground
#120e02black
#fdfdfcwhite
Popover
#fbfbf8snow
#100d05black
Popover foreground
#171203black
#fcfbf8snow
Primary
#ffc505gold
#ffc505gold
Primary foreground
#382b00black
#382b00black
Secondary
#ff4805orangered
#ff4805orangered
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebdfdbgainsboro
#241814black
Muted foreground
#614e48darkolivegreen
#b7a59edarkgray
Accent
#bcff05greenyellow
#bcff05greenyellow
Accent foreground
#293800darkgreen
#293800darkgreen
Destructive
#99270bbrown
#db380forangered
Destructive foreground
#fce0d9mistyrose
#ffffffwhite
Border
#e2e1dfgainsboro
#1e1d1ablack
Input
#e2e1dfgainsboro
#1e1d1ablack
Ring
#ffc505gold
#ffc505gold

Contrast

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

Light mode
Text on background18.00:1AAA
Text on card18.23:1AAA
Primary button8.72:1AAA
Secondary button3.40:1AA Large
Muted text5.98:1AA
Accent10.51:1AAA
Destructive6.36:1AA
Dark mode
Text on background18.77:1AAA
Text on card18.63:1AAA
Primary button8.72:1AAA
Secondary button3.40:1AA Large
Muted text7.29:1AAA
Accent10.51:1AAA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Kazakhstan Yellow Hawk in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 92.689);
  --foreground: oklch(0.184 0.031 94.61);
  --muted: oklch(0.912 0.015 41.184);
  --muted-foreground: oklch(0.442 0.027 40.961);
  --popover: oklch(0.987 0.003 92.689);
  --popover-foreground: oklch(0.184 0.031 94.61);
  --card: oklch(0.981 0.005 92.705);
  --card-foreground: oklch(0.167 0.028 95.843);
  --border: oklch(0.911 0.004 92.699);
  --input: oklch(0.911 0.004 92.699);
  --primary: oklch(0.851 0.173 86.796);
  --primary-foreground: oklch(0.296 0.06 90.746);
  --secondary: oklch(0.663 0.227 35.643);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.921 0.235 126.454);
  --accent-foreground: oklch(0.316 0.079 124.498);
  --destructive: oklch(0.452 0.154 34.1);
  --destructive-foreground: oklch(0.928 0.033 34.307);
  --ring: oklch(0.851 0.173 86.796);
  --chart-1: oklch(0.851 0.173 86.796);
  --chart-2: oklch(0.663 0.227 35.643);
  --chart-3: oklch(0.921 0.235 126.454);
  --chart-4: oklch(0.674 0.218 37.055);
  --chart-5: oklch(0.859 0.176 86.413);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.018 94.849);
  --foreground: oklch(0.987 0.004 92.693);
  --muted: oklch(0.224 0.022 40.855);
  --muted-foreground: oklch(0.736 0.024 41.089);
  --popover: oklch(0.159 0.018 94.849);
  --popover-foreground: oklch(0.987 0.004 92.693);
  --card: oklch(0.175 0.021 93.854);
  --card-foreground: oklch(0.994 0.002 92.675);
  --border: oklch(0.23 0.005 92.858);
  --input: oklch(0.23 0.005 92.858);
  --primary: oklch(0.851 0.173 86.796);
  --primary-foreground: oklch(0.296 0.06 90.746);
  --secondary: oklch(0.663 0.227 35.643);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.921 0.235 126.454);
  --accent-foreground: oklch(0.316 0.079 124.498);
  --destructive: oklch(0.588 0.205 33.784);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.851 0.173 86.796);
  --chart-1: oklch(0.851 0.173 86.796);
  --chart-2: oklch(0.663 0.227 35.643);
  --chart-3: oklch(0.921 0.235 126.454);
  --chart-4: oklch(0.674 0.218 37.055);
  --chart-5: oklch(0.859 0.176 86.413);
}