Yellowjacket for shadcn/ui

Yellowjacket is a shadcn/ui theme built around an orange primary color (#76542e) with muted light orange accents (#d6c8b8). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#76542e) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#ffffffwhite
#040301black
Foreground
#0d0802black
#f8f7f6whitesmoke
Card
#ffffffwhite
#040301black
Card foreground
#0d0802black
#f8f7f6whitesmoke
Popover
#ffffffwhite
#040301black
Popover foreground
#0d0802black
#f8f7f6whitesmoke
Primary
#76542esaddlebrown
#76542esaddlebrown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e2dcd5gainsboro
#2f2e2ddarkslategray
Secondary foreground
#4e4336darkolivegreen
#c8c7c6silver
Muted
#e5e3e1gainsboro
#1e1c1ablack
Muted foreground
#544f4adarkslategray
#b5b0abdarkgray
Accent
#d6c8b8silver
#4a4540darkslategray
Accent foreground
#3a2f22darkslategray
#e0dedcgainsboro
Destructive
#812908saddlebrown
#f04f14orangered
Destructive foreground
#fbd0c1peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#76542esaddlebrown
#76542esaddlebrown

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button6.83:1AA
Secondary button7.06:1AAA
Muted text6.32:1AA
Accent7.95:1AAA
Destructive6.60:1AA
Dark mode
Text on background19.30:1AAA
Text on card19.30:1AAA
Primary button6.83:1AA
Secondary button8.03:1AAA
Muted text7.88:1AAA
Accent7.05:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.139 0.019 79.765);
  --muted: oklch(0.917 0.003 71.418);
  --muted-foreground: oklch(0.432 0.01 71.235);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.139 0.019 79.765);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.139 0.019 79.765);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.473 0.07 68.413);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.896 0.011 71.338);
  --secondary-foreground: oklch(0.391 0.026 70.696);
  --accent: oklch(0.84 0.027 71.139);
  --accent-foreground: oklch(0.313 0.028 70.267);
  --destructive: oklch(0.411 0.129 37.673);
  --destructive-foreground: oklch(0.891 0.053 40.97);
  --ring: oklch(0.473 0.07 68.413);
  --chart-1: oklch(0.473 0.07 68.413);
  --chart-2: oklch(0.896 0.011 71.338);
  --chart-3: oklch(0.84 0.027 71.139);
  --chart-4: oklch(0.919 0.009 71.366);
  --chart-5: oklch(0.476 0.074 68.04);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.008 77.603);
  --foreground: oklch(0.978 0.002 71.433);
  --muted: oklch(0.228 0.005 71.255);
  --muted-foreground: oklch(0.76 0.009 71.349);
  --popover: oklch(0.095 0.008 77.603);
  --popover-foreground: oklch(0.978 0.002 71.433);
  --card: oklch(0.095 0.008 77.603);
  --card-foreground: oklch(0.978 0.002 71.433);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.473 0.07 68.413);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.302 0.002 71.389);
  --secondary-foreground: oklch(0.83 0.002 71.429);
  --accent: oklch(0.394 0.01 71.202);
  --accent-foreground: oklch(0.902 0.004 71.411);
  --destructive: oklch(0.645 0.207 37.2);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.473 0.07 68.413);
  --chart-1: oklch(0.473 0.07 68.413);
  --chart-2: oklch(0.302 0.002 71.389);
  --chart-3: oklch(0.394 0.01 71.202);
  --chart-4: oklch(0.332 0.002 71.387);
  --chart-5: oklch(0.476 0.074 68.04);
}