Ultimate Hurricane Haze for shadcn/ui

Ultimate Hurricane Haze is a shadcn/ui theme built around a muted yellow primary color (#bcbbae) with muted purple accents (#bbaebc). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the muted yellow primary (#bcbbae) on a neutral background (#070703).

Color palette

TokenLightDark
Background
#fdfcf7snow
#070703black
Foreground
#141306black
#fdfdfcwhite
Card
#fdfcf7snow
#070703black
Card foreground
#141306black
#fdfdfcwhite
Popover
#fdfcf7snow
#070703black
Popover foreground
#141306black
#fdfdfcwhite
Primary
#bcbbaesilver
#bcbbaesilver
Primary foreground
#1f1e1ablack
#1f1e1ablack
Secondary
#aebcbbsilver
#aebcbbsilver
Secondary foreground
#1a1f1eblack
#1a1f1eblack
Muted
#eceeeewhitesmoke
#111313black
Muted foreground
#414444darkslategray
#bbbebesilver
Accent
#bbaebcsilver
#bbaebcsilver
Accent foreground
#1e1a1fblack
#1e1a1fblack
Destructive
#850d00maroon
#ff3e29orangered
Destructive foreground
#ffbfb8lightpink
#ffffffwhite
Border
#e9e9e2beige
#201f18black
Input
#e9e9e2beige
#201f18black
Ring
#bcbbaesilver
#bcbbaesilver

Contrast

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

Light mode
Text on background18.19:1AAA
Text on card18.19:1AAA
Primary button8.63:1AAA
Secondary button8.49:1AAA
Muted text8.45:1AAA
Accent8.11:1AAA
Destructive6.53:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button8.63:1AAA
Secondary button8.49:1AAA
Muted text9.98:1AAA
Accent8.11:1AAA
Destructive3.51:1AA Large

CSS variables

Paste this into your globals.css to use Ultimate Hurricane Haze in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.007 104.929);
  --foreground: oklch(0.184 0.025 106.988);
  --muted: oklch(0.948 0.002 194.752);
  --muted-foreground: oklch(0.383 0.004 194.617);
  --popover: oklch(0.991 0.007 104.929);
  --popover-foreground: oklch(0.184 0.025 106.988);
  --card: oklch(0.991 0.007 104.929);
  --card-foreground: oklch(0.184 0.025 106.988);
  --border: oklch(0.931 0.009 104.968);
  --input: oklch(0.931 0.009 104.968);
  --primary: oklch(0.79 0.018 105.196);
  --primary-foreground: oklch(0.235 0.009 105.463);
  --secondary: oklch(0.784 0.015 194.441);
  --secondary-foreground: oklch(0.232 0.007 194.195);
  --accent: oklch(0.767 0.024 324.812);
  --accent-foreground: oklch(0.224 0.012 324.957);
  --destructive: oklch(0.393 0.153 31.023);
  --destructive-foreground: oklch(0.86 0.075 25.941);
  --ring: oklch(0.79 0.018 105.196);
  --chart-1: oklch(0.79 0.018 105.196);
  --chart-2: oklch(0.784 0.015 194.441);
  --chart-3: oklch(0.767 0.024 324.812);
  --chart-4: oklch(0.807 0.013 194.487);
  --chart-5: oklch(0.795 0.024 105.316);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.013 106.735);
  --foreground: oklch(0.994 0.002 104.843);
  --muted: oklch(0.184 0.003 194.501);
  --muted-foreground: oklch(0.799 0.003 194.721);
  --popover: oklch(0.127 0.013 106.735);
  --popover-foreground: oklch(0.994 0.002 104.843);
  --card: oklch(0.127 0.013 106.735);
  --card-foreground: oklch(0.994 0.002 104.843);
  --border: oklch(0.239 0.013 105.714);
  --input: oklch(0.239 0.013 105.714);
  --primary: oklch(0.79 0.018 105.196);
  --primary-foreground: oklch(0.235 0.009 105.463);
  --secondary: oklch(0.784 0.015 194.441);
  --secondary-foreground: oklch(0.232 0.007 194.195);
  --accent: oklch(0.767 0.024 324.812);
  --accent-foreground: oklch(0.224 0.012 324.957);
  --destructive: oklch(0.656 0.231 30.416);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.79 0.018 105.196);
  --chart-1: oklch(0.79 0.018 105.196);
  --chart-2: oklch(0.784 0.015 194.441);
  --chart-3: oklch(0.767 0.024 324.812);
  --chart-4: oklch(0.807 0.013 194.487);
  --chart-5: oklch(0.795 0.024 105.316);
}