Multicolored for shadcn/ui

Multicolored is a shadcn/ui theme built around a light green primary color (#d7eac2) with light pink accents (#eac2d7). The light mode uses a neutral background (#fafdf7). Dark mode keeps the light green primary (#d7eac2) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fafdf7mintcream
#000000black
Foreground
#000000black
#f7f8f6whitesmoke
Card
#fafdf7mintcream
#000000black
Card foreground
#000000black
#f7f8f6whitesmoke
Popover
#fafdf7mintcream
#000000black
Popover foreground
#000000black
#f7f8f6whitesmoke
Primary
#d7eac2lightgrey
#d7eac2lightgrey
Primary foreground
#3e5b1fdarkolivegreen
#3e5b1fdarkolivegreen
Secondary
#c2d7eapowderblue
#c2d7eapowderblue
Secondary foreground
#1f3e5bdarkslategray
#1f3e5bdarkslategray
Muted
#d1deebgainsboro
#14222eblack
Muted foreground
#4f4f4fdarkslategray
#b0b0b0darkgray
Accent
#eac2d7thistle
#eac2d7thistle
Accent foreground
#5b1f3edarkslategray
#5b1f3edarkslategray
Destructive
#67100amaroon
#eb3528crimson
Destructive foreground
#f7b0ablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d7eac2lightgrey
#d7eac2lightgrey

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.42:1AAA
Primary button6.04:1AA
Secondary button7.47:1AAA
Muted text6.00:1AA
Accent7.72:1AAA
Destructive7.12:1AAA
Dark mode
Text on background19.71:1AAA
Text on card19.71:1AAA
Primary button6.04:1AA
Secondary button7.47:1AAA
Muted text7.48:1AAA
Accent7.72:1AAA
Destructive4.13: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.99 0.008 127.883);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.895 0.022 246.252);
  --muted-foreground: oklch(0.428 0 180);
  --popover: oklch(0.99 0.008 127.883);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.99 0.008 127.883);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.913 0.057 128.543);
  --primary-foreground: oklch(0.435 0.093 131.139);
  --secondary: oklch(0.869 0.035 246.422);
  --secondary-foreground: oklch(0.355 0.063 248.542);
  --accent: oklch(0.855 0.053 345.798);
  --accent-foreground: oklch(0.342 0.095 351.238);
  --destructive: oklch(0.333 0.121 29.355);
  --destructive-foreground: oklch(0.823 0.084 23.635);
  --ring: oklch(0.913 0.057 128.543);
  --chart-1: oklch(0.913 0.057 128.543);
  --chart-2: oklch(0.869 0.035 246.422);
  --chart-3: oklch(0.855 0.053 345.798);
  --chart-4: oklch(0.894 0.028 246.325);
  --chart-5: oklch(0.915 0.06 128.588);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.003 127.82);
  --muted: oklch(0.244 0.03 247.529);
  --muted-foreground: oklch(0.757 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.003 127.82);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.003 127.82);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.913 0.057 128.543);
  --primary-foreground: oklch(0.435 0.093 131.139);
  --secondary: oklch(0.869 0.035 246.422);
  --secondary-foreground: oklch(0.355 0.063 248.542);
  --accent: oklch(0.855 0.053 345.798);
  --accent-foreground: oklch(0.342 0.095 351.238);
  --destructive: oklch(0.615 0.219 29.213);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.057 128.543);
  --chart-1: oklch(0.913 0.057 128.543);
  --chart-2: oklch(0.869 0.035 246.422);
  --chart-3: oklch(0.855 0.053 345.798);
  --chart-4: oklch(0.894 0.028 246.325);
  --chart-5: oklch(0.915 0.06 128.588);
}