05 for shadcn/ui

05 is a shadcn/ui theme built around a yellow primary color (#d6b980) with muted light yellow accents (#cdc7bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#d6b980) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#ffffffwhite
#070603black
Foreground
#161004black
#fdfdfcwhite
Card
#fcfcfcsnow
#0a0805black
Card foreground
#120d03black
#ffffffwhite
Popover
#fcfcfcsnow
#0a0805black
Popover foreground
#120d03black
#ffffffwhite
Primary
#d6b980burlywood
#d6b980burlywood
Primary foreground
#1b1509black
#1b1509black
Secondary
#dddad5gainsboro
#161513black
Secondary foreground
#464239darkslategray
#b2afa9darkgray
Muted
#e4ded2gainsboro
#2d271bblack
Muted foreground
#68635adimgray
#a5a097darkgray
Accent
#cdc7bcsilver
#312d26darkslategray
Accent foreground
#322e25darkslategray
#ccc7bdsilver
Destructive
#bf0d0dfirebrick
#f13232crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f0eeeblinen
#23201ablack
Input
#f0eeeblinen
#23201ablack
Ring
#d6b980burlywood
#d6b980burlywood

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card18.94:1AAA
Primary button9.60:1AAA
Secondary button7.17:1AAA
Muted text4.46:1AA Large
Accent8.05:1AAA
Destructive6.41:1AA
Dark mode
Text on background19.94:1AAA
Text on card19.96:1AAA
Primary button9.60:1AAA
Secondary button8.35:1AAA
Muted text5.72:1AA
Accent8.11:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.176 0.027 86.034);
  --muted: oklch(0.903 0.017 84.589);
  --muted-foreground: oklch(0.502 0.015 84.593);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.16 0.024 87.992);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.16 0.024 87.992);
  --border: oklch(0.949 0.005 84.564);
  --input: oklch(0.949 0.005 84.564);
  --primary: oklch(0.798 0.081 84.131);
  --primary-foreground: oklch(0.199 0.024 83.867);
  --secondary: oklch(0.889 0.007 84.572);
  --secondary-foreground: oklch(0.38 0.015 84.584);
  --accent: oklch(0.832 0.017 84.59);
  --accent-foreground: oklch(0.301 0.016 84.548);
  --destructive: oklch(0.509 0.203 28.611);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.798 0.081 84.131);
  --chart-1: oklch(0.798 0.081 84.131);
  --chart-2: oklch(0.889 0.007 84.572);
  --chart-3: oklch(0.832 0.017 84.59);
  --chart-4: oklch(0.911 0.006 84.568);
  --chart-5: oklch(0.801 0.086 84.052);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.008 88.145);
  --foreground: oklch(0.993 0.002 84.555);
  --muted: oklch(0.274 0.022 84.373);
  --muted-foreground: oklch(0.708 0.014 84.589);
  --popover: oklch(0.138 0.009 88.145);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.009 88.145);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.245 0.011 84.572);
  --input: oklch(0.245 0.011 84.572);
  --primary: oklch(0.798 0.081 84.131);
  --primary-foreground: oklch(0.199 0.024 83.867);
  --secondary: oklch(0.195 0.003 84.587);
  --secondary-foreground: oklch(0.755 0.01 84.581);
  --accent: oklch(0.3 0.014 84.569);
  --accent-foreground: oklch(0.831 0.015 84.587);
  --destructive: oklch(0.623 0.225 26.795);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.798 0.081 84.131);
  --chart-1: oklch(0.798 0.081 84.131);
  --chart-2: oklch(0.195 0.003 84.587);
  --chart-3: oklch(0.3 0.014 84.569);
  --chart-4: oklch(0.229 0.005 84.589);
  --chart-5: oklch(0.801 0.086 84.052);
}