Caramel Muskox for shadcn/ui

Caramel Muskox is a shadcn/ui theme built around a vivid orange primary color (#b17110) with vivid violet accents (#7110b1). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid orange primary (#b17110) on an orange-tinted background (#0f0b05).

Color palette

TokenLightDark
Background
#fefdfbsnow
#0f0b05black
Foreground
#0d0902black
#fcfaf8snow
Card
#fdfaf7snow
#130e06black
Card foreground
#090601black
#fdfdfbsnow
Popover
#fefdfbsnow
#0f0b05black
Popover foreground
#0d0902black
#fcfaf8snow
Primary
#b17110darkgoldenrod
#b17110darkgoldenrod
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#10b171mediumseagreen
#10b171mediumseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e1eae6gainsboro
#151e1ablack
Muted foreground
#414946darkslategray
#b6bebbsilver
Accent
#7110b1rebeccapurple
#7110b1rebeccapurple
Accent foreground
#fbf6feghostwhite
#fbf6feghostwhite
Destructive
#c31f09firebrick
#f53c24orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9e6e2gainsboro
#28251fblack
Input
#e9e6e2gainsboro
#28251fblack
Ring
#b17110darkgoldenrod
#b17110darkgoldenrod

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.49:1AAA
Primary button4.00:1AA Large
Secondary button2.77:1Fail
Muted text7.54:1AAA
Accent8.15:1AAA
Destructive5.97:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.85:1AAA
Primary button4.00:1AA Large
Secondary button2.77:1Fail
Muted text8.99:1AAA
Accent8.15:1AAA
Destructive3.78:1AA Large

CSS variables

Paste this into your globals.css to use Caramel Muskox in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 78.305);
  --foreground: oklch(0.141 0.02 85.73);
  --muted: oklch(0.929 0.01 170.302);
  --muted-foreground: oklch(0.397 0.012 169.726);
  --popover: oklch(0.994 0.002 78.305);
  --popover-foreground: oklch(0.141 0.02 85.73);
  --card: oklch(0.987 0.005 78.297);
  --card-foreground: oklch(0.123 0.018 86.889);
  --border: oklch(0.926 0.006 78.292);
  --input: oklch(0.926 0.006 78.292);
  --primary: oklch(0.603 0.127 69.079);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.672 0.153 158.318);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.443 0.22 304.858);
  --accent-foreground: oklch(0.978 0.012 312.264);
  --destructive: oklch(0.525 0.199 30.85);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.603 0.127 69.079);
  --chart-1: oklch(0.603 0.127 69.079);
  --chart-2: oklch(0.672 0.153 158.318);
  --chart-3: oklch(0.443 0.22 304.858);
  --chart-4: oklch(0.711 0.163 158.22);
  --chart-5: oklch(0.608 0.13 68.418);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.016 80.946);
  --foreground: oklch(0.987 0.004 78.301);
  --muted: oklch(0.224 0.014 168.654);
  --muted-foreground: oklch(0.795 0.01 170.251);
  --popover: oklch(0.154 0.016 80.946);
  --popover-foreground: oklch(0.987 0.004 78.301);
  --card: oklch(0.168 0.018 78.741);
  --card-foreground: oklch(0.993 0.002 78.307);
  --border: oklch(0.265 0.011 78.092);
  --input: oklch(0.265 0.011 78.092);
  --primary: oklch(0.603 0.127 69.079);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.672 0.153 158.318);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.443 0.22 304.858);
  --accent-foreground: oklch(0.978 0.012 312.264);
  --destructive: oklch(0.636 0.223 31.034);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.603 0.127 69.079);
  --chart-1: oklch(0.603 0.127 69.079);
  --chart-2: oklch(0.672 0.153 158.318);
  --chart-3: oklch(0.443 0.22 304.858);
  --chart-4: oklch(0.711 0.163 158.22);
  --chart-5: oklch(0.608 0.13 68.418);
}