Shining Gold Bobcat for shadcn/ui

Shining Gold Bobcat is a shadcn/ui theme built around a vivid yellow primary color (#ffd200) with light blue accents (#f1f5f9). The light mode uses a neutral background (#f8f8f8). Dark mode keeps the vivid yellow primary (#ffd200) on an indigo-tinted background (#16161d).

Color palette

TokenLightDark
Background
#f8f8f8whitesmoke
#16161dblack
Foreground
#020817black
#abb3delightsteelblue
Card
#ffffffwhite
#1a1b25black
Card foreground
#020817black
#e2e4f1lavender
Popover
#ffffffwhite
#1a1b25black
Popover foreground
#020817black
#e2e4f1lavender
Primary
#ffd200gold
#ffd200gold
Primary foreground
#12120fblack
#10100bblack
Secondary
#f1f5f9whitesmoke
#d3d3d3lightgray
Secondary foreground
#0f172ablack
#333333darkslategray
Muted
#f1f5f9whitesmoke
#282936darkslategray
Muted foreground
#64748bslategray
#71748eslategray
Accent
#f1f5f9whitesmoke
#4059b7steelblue
Accent foreground
#0f172ablack
#f8fafcghostwhite
Destructive
#f72727crimson
#c0514eindianred
Destructive foreground
#f8fafcghostwhite
#fcfeffwhite
Border
#e2e8f0lavender
#42455adarkslategray
Input
#e2e8f0lavender
#3a3d52darkslategray
Ring
#023cb6mediumblue
#88a0ebcornflowerblue

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card20.00:1AAA
Primary button12.92:1AAA
Secondary button16.30:1AAA
Muted text4.34:1AA Large
Accent16.30:1AAA
Destructive3.80:1AA Large
Dark mode
Text on background8.77:1AAA
Text on card13.52:1AAA
Primary button13.14:1AAA
Secondary button8.44:1AAA
Muted text3.13:1AA Large
Accent6.03:1AA
Destructive4.58:1AA

CSS variables

Paste this into your globals.css to use Shining Gold Bobcat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0 201.801);
  --foreground: oklch(0.137 0.036 258.526);
  --muted: oklch(0.968 0.007 247.895);
  --muted-foreground: oklch(0.555 0.041 257.44);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.137 0.036 258.526);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.137 0.036 258.526);
  --border: oklch(0.929 0.013 255.532);
  --input: oklch(0.929 0.013 255.532);
  --primary: oklch(0.877 0.18 93.127);
  --primary-foreground: oklch(0.182 0.007 108.349);
  --secondary: oklch(0.968 0.007 247.895);
  --secondary-foreground: oklch(0.208 0.04 265.727);
  --accent: oklch(0.968 0.007 247.895);
  --accent-foreground: oklch(0.208 0.04 265.727);
  --destructive: oklch(0.627 0.238 27.654);
  --destructive-foreground: oklch(0.984 0.003 247.859);
  --ring: oklch(0.418 0.199 262.612);
  --chart-1: oklch(0.877 0.18 93.127);
  --chart-2: oklch(0.968 0.007 247.895);
  --chart-3: oklch(0.968 0.007 247.895);
  --chart-4: oklch(0.993 0.002 247.838);
  --chart-5: oklch(0.885 0.182 92.86);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.203 0.014 285.102);
  --foreground: oklch(0.775 0.061 275.787);
  --muted: oklch(0.286 0.023 278.46);
  --muted-foreground: oklch(0.566 0.04 279.856);
  --popover: oklch(0.226 0.019 280.253);
  --popover-foreground: oklch(0.921 0.018 279.045);
  --card: oklch(0.226 0.019 280.253);
  --card-foreground: oklch(0.922 0.018 277.607);
  --border: oklch(0.396 0.036 278.297);
  --input: oklch(0.367 0.035 277.706);
  --primary: oklch(0.877 0.18 93.127);
  --primary-foreground: oklch(0.172 0.01 110.478);
  --secondary: oklch(0.867 0 169.695);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(0.496 0.152 269.335);
  --accent-foreground: oklch(0.984 0.003 247.859);
  --destructive: oklch(0.578 0.144 24.182);
  --destructive-foreground: oklch(0.995 0.003 247.848);
  --ring: oklch(0.718 0.113 269.854);
  --chart-1: oklch(0.877 0.18 93.127);
  --chart-2: oklch(0.867 0 169.695);
  --chart-3: oklch(0.496 0.152 269.335);
  --chart-4: oklch(0.89 0 171.254);
  --chart-5: oklch(0.885 0.182 92.86);
}