Multicolored for shadcn/ui

Multicolored is a shadcn/ui theme built around a vivid orange primary color (#f2a41c) with muted orange accents (#c9bca6). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid orange primary (#f2a41c) on an orange-tinted background (#100c04).

Color palette

TokenLightDark
Background
#fefdfbsnow
#100c04black
Foreground
#140f05black
#fdfdfcwhite
Card
#fdfbf7snow
#140f06black
Card foreground
#100c04black
#ffffffwhite
Popover
#fefdfbsnow
#100c04black
Popover foreground
#140f05black
#fdfdfcwhite
Primary
#f2a41cgoldenrod
#f2a41cgoldenrod
Primary foreground
#3f2904black
#3f2904black
Secondary
#d6d0c7lightgrey
#24221eblack
Secondary foreground
#3e382edarkslategray
#c0bcb5silver
Muted
#e1dfdbgainsboro
#24221eblack
Muted foreground
#514e48darkslategray
#b7b4aedarkgray
Accent
#c9bca6silver
#413a30darkslategray
Accent foreground
#262117black
#d8d3calightgrey
Destructive
#bb0a07firebrick
#f60d09red
Destructive foreground
#fff5f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f2a41cgoldenrod
#f2a41cgoldenrod

Contrast

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

Light mode
Text on background18.75:1AAA
Text on card18.84:1AAA
Primary button6.57:1AA
Secondary button7.59:1AAA
Muted text6.20:1AA
Accent8.56:1AAA
Destructive6.21:1AA
Dark mode
Text on background19.19:1AAA
Text on card19.11:1AAA
Primary button6.57:1AA
Secondary button8.40:1AAA
Muted text7.68:1AAA
Accent7.51:1AAA
Destructive4.21:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 81.514);
  --foreground: oklch(0.171 0.021 82.41);
  --muted: oklch(0.903 0.005 81.513);
  --muted-foreground: oklch(0.424 0.01 81.486);
  --popover: oklch(0.994 0.003 81.514);
  --popover-foreground: oklch(0.171 0.021 82.41);
  --card: oklch(0.988 0.006 81.513);
  --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.775 0.159 73.374);
  --primary-foreground: oklch(0.3 0.059 75.994);
  --secondary: oklch(0.861 0.014 81.503);
  --secondary-foreground: oklch(0.342 0.019 81.346);
  --accent: oklch(0.8 0.033 81.428);
  --accent-foreground: oklch(0.249 0.019 81.178);
  --destructive: oklch(0.5 0.201 29.086);
  --destructive-foreground: oklch(0.978 0.01 18.519);
  --ring: oklch(0.775 0.159 73.374);
  --chart-1: oklch(0.775 0.159 73.374);
  --chart-2: oklch(0.861 0.014 81.503);
  --chart-3: oklch(0.8 0.033 81.428);
  --chart-4: oklch(0.883 0.012 81.507);
  --chart-5: oklch(0.781 0.162 72.808);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.018 84.317);
  --foreground: oklch(0.993 0.001 81.514);
  --muted: oklch(0.252 0.007 81.479);
  --muted-foreground: oklch(0.77 0.009 81.508);
  --popover: oklch(0.156 0.018 84.317);
  --popover-foreground: oklch(0.993 0.001 81.514);
  --card: oklch(0.17 0.02 82.285);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.775 0.159 73.374);
  --primary-foreground: oklch(0.3 0.059 75.994);
  --secondary: oklch(0.252 0.007 81.479);
  --secondary-foreground: oklch(0.795 0.011 81.506);
  --accent: oklch(0.353 0.02 81.343);
  --accent-foreground: oklch(0.868 0.013 81.504);
  --destructive: oklch(0.614 0.248 29.135);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.775 0.159 73.374);
  --chart-1: oklch(0.775 0.159 73.374);
  --chart-2: oklch(0.252 0.007 81.479);
  --chart-3: oklch(0.353 0.02 81.343);
  --chart-4: oklch(0.285 0.008 81.475);
  --chart-5: oklch(0.781 0.162 72.808);
}