Behold for shadcn/ui

Behold is a shadcn/ui theme built around a vivid light yellow primary color (#f9d690) with vivid light blue accents (#90b3f9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light yellow primary (#f9d690) on a yellow-tinted background (#0b0905).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0905black
Foreground
#161003black
#fbfaf9snow
Card
#fcfcfcsnow
#0e0c06black
Card foreground
#120d03black
#fdfdfcwhite
Popover
#ffffffwhite
#0b0905black
Popover foreground
#161003black
#fbfaf9snow
Primary
#f9d690khaki
#f9d690khaki
Primary foreground
#523805saddlebrown
#523805saddlebrown
Secondary
#90b3f9lightskyblue
#90b3f9lightskyblue
Secondary foreground
#051e52midnightblue
#051e52midnightblue
Muted
#edeff2whitesmoke
#0d0e12black
Muted foreground
#4c4c4ddarkslategray
#b2b2b3darkgray
Accent
#90b3f9lightskyblue
#90b3f9lightskyblue
Accent foreground
#051e52midnightblue
#051e52midnightblue
Destructive
#83210bmaroon
#eb431eorangered
Destructive foreground
#fad0c7pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f9d690khaki
#f9d690khaki

Contrast

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

Light mode
Text on background18.92:1AAA
Text on card18.94:1AAA
Primary button7.78:1AAA
Secondary button7.60:1AAA
Muted text7.43:1AAA
Accent7.60:1AAA
Destructive6.78:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.23:1AAA
Primary button7.78:1AAA
Secondary button7.60:1AAA
Muted text9.09:1AAA
Accent7.60:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.177 0.028 86.15);
  --muted: oklch(0.951 0.005 264.534);
  --muted-foreground: oklch(0.417 0.002 264.538);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.177 0.028 86.15);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.161 0.025 88.141);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.889 0.096 84.038);
  --primary-foreground: oklch(0.362 0.072 78.54);
  --secondary: oklch(0.768 0.107 263.632);
  --secondary-foreground: oklch(0.256 0.099 261.756);
  --accent: oklch(0.768 0.107 263.632);
  --accent-foreground: oklch(0.256 0.099 261.756);
  --destructive: oklch(0.407 0.136 33.651);
  --destructive-foreground: oklch(0.891 0.049 32.782);
  --ring: oklch(0.889 0.096 84.038);
  --chart-1: oklch(0.889 0.096 84.038);
  --chart-2: oklch(0.768 0.107 263.632);
  --chart-3: oklch(0.768 0.107 263.632);
  --chart-4: oklch(0.798 0.093 263.833);
  --chart-5: oklch(0.892 0.099 83.986);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.012 88.954);
  --foreground: oklch(0.986 0.003 84.558);
  --muted: oklch(0.165 0.008 264.317);
  --muted-foreground: oklch(0.764 0.002 264.545);
  --popover: oklch(0.139 0.012 88.954);
  --popover-foreground: oklch(0.986 0.003 84.558);
  --card: oklch(0.154 0.013 86.436);
  --card-foreground: oklch(0.993 0.001 84.555);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.889 0.096 84.038);
  --primary-foreground: oklch(0.362 0.072 78.54);
  --secondary: oklch(0.768 0.107 263.632);
  --secondary-foreground: oklch(0.256 0.099 261.756);
  --accent: oklch(0.768 0.107 263.632);
  --accent-foreground: oklch(0.256 0.099 261.756);
  --destructive: oklch(0.627 0.21 33.656);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.889 0.096 84.038);
  --chart-1: oklch(0.889 0.096 84.038);
  --chart-2: oklch(0.768 0.107 263.632);
  --chart-3: oklch(0.768 0.107 263.632);
  --chart-4: oklch(0.798 0.093 263.833);
  --chart-5: oklch(0.892 0.099 83.986);
}