Utilized for shadcn/ui

Utilized is a shadcn/ui theme built around an orange primary color (#b2802a) with muted light orange accents (#ebe9e5). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#b2802a) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#ffffffwhite
#070603black
Foreground
#140f05black
#fbfaf8snow
Card
#fcfcfcsnow
#0a0805black
Card foreground
#100c04black
#fdfdfcwhite
Popover
#ffffffwhite
#070603black
Popover foreground
#140f05black
#fbfaf8snow
Primary
#b2802adarkgoldenrod
#b2802adarkgoldenrod
Primary foreground
#000000black
#000000black
Secondary
#ebe9e5linen
#1a1814black
Secondary foreground
#5b5243darkolivegreen
#bcb3a4darkgray
Muted
#f2ede3linen
#1c160dblack
Muted foreground
#58534bdarkolivegreen
#b4afa7darkgray
Accent
#ebe9e5linen
#1a1814black
Accent foreground
#5b5243darkolivegreen
#bcb3a4darkgray
Destructive
#c34e13chocolate
#ec773ccoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b2802adarkgoldenrod
#b2802adarkgoldenrod

Contrast

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

Light mode
Text on background19.08:1AAA
Text on card19.09:1AAA
Primary button5.99:1AA
Secondary button6.34:1AA
Muted text6.51:1AA
Accent6.34:1AA
Destructive4.75:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.60:1AAA
Primary button5.99:1AA
Secondary button8.54:1AAA
Muted text8.22:1AAA
Accent8.54:1AAA
Destructive7.24:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.171 0.021 82.41);
  --muted: oklch(0.946 0.013 81.506);
  --muted-foreground: oklch(0.445 0.015 81.462);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.171 0.021 82.41);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.156 0.019 84.485);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.634 0.116 76.836);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.935 0.006 81.512);
  --secondary-foreground: oklch(0.443 0.026 81.319);
  --accent: oklch(0.935 0.006 81.512);
  --accent-foreground: oklch(0.443 0.026 81.319);
  --destructive: oklch(0.571 0.163 42.142);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.634 0.116 76.836);
  --chart-1: oklch(0.634 0.116 76.836);
  --chart-2: oklch(0.935 0.006 81.512);
  --chart-3: oklch(0.935 0.006 81.512);
  --chart-4: oklch(0.957 0.004 81.513);
  --chart-5: oklch(0.639 0.12 76.336);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.009 85.898);
  --foreground: oklch(0.986 0.003 81.514);
  --muted: oklch(0.205 0.019 80.96);
  --muted-foreground: oklch(0.756 0.013 81.501);
  --popover: oklch(0.12 0.009 85.898);
  --popover-foreground: oklch(0.986 0.003 81.514);
  --card: oklch(0.138 0.01 85.865);
  --card-foreground: oklch(0.993 0.001 81.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.634 0.116 76.836);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.21 0.009 81.414);
  --secondary-foreground: oklch(0.77 0.023 81.471);
  --accent: oklch(0.21 0.009 81.414);
  --accent-foreground: oklch(0.77 0.023 81.471);
  --destructive: oklch(0.694 0.161 45.046);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.634 0.116 76.836);
  --chart-1: oklch(0.634 0.116 76.836);
  --chart-2: oklch(0.21 0.009 81.414);
  --chart-3: oklch(0.21 0.009 81.414);
  --chart-4: oklch(0.244 0.012 81.39);
  --chart-5: oklch(0.639 0.12 76.336);
}