Toucan Theme for shadcn/ui

Toucan Theme is a shadcn/ui theme built around a vivid orange primary color (#ff8035) with muted light indigo accents (#f3f3f5). The light mode uses a neutral background (#eeeeee). Dark mode keeps the vivid orange primary (#e45c08) on a blue-tinted background (#111214).

Color palette

TokenLightDark
Background
#eeeeeewhitesmoke
#111214black
Foreground
#111214black
#f6f8f9whitesmoke
Card
#fcfcfcsnow
#25262bdarkslategray
Card foreground
#111214black
#f9fbfbghostwhite
Popover
#fcfcfcsnow
#25262bdarkslategray
Popover foreground
#50535cdarkslategray
#f9fbfbghostwhite
Primary
#ff8035coral
#e45c08chocolate
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#111214black
#25262bdarkslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f3f3f5whitesmoke
#393c43darkslategray
Muted foreground
#babbbfsilver
#9fa0a5darkgray
Accent
#f3f3f5whitesmoke
#393c43darkslategray
Accent foreground
#111214black
#bbc1c3silver
Destructive
#f83737crimson
#f83737crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#d7d8dagainsboro
#111214black
Input
#d7d8dagainsboro
#111214black
Ring
#111214black
#111214black

Contrast

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

Light mode
Text on background16.15:1AAA
Text on card18.33:1AAA
Primary button2.50:1Fail
Secondary button18.74:1AAA
Muted text1.73:1Fail
Accent16.91:1AAA
Destructive3.75:1AA Large
Dark mode
Text on background17.59:1AAA
Text on card14.53:1AAA
Primary button3.60:1AA Large
Secondary button15.09:1AAA
Muted text4.23:1AA Large
Accent6.06:1AA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.949 0 180);
  --foreground: oklch(0.182 0.004 264.459);
  --muted: oklch(0.965 0.003 286.35);
  --muted-foreground: oklch(0.792 0.006 274.946);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.443 0.015 271.059);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.182 0.004 264.459);
  --border: oklch(0.882 0.003 264.541);
  --input: oklch(0.882 0.003 264.541);
  --primary: oklch(0.734 0.176 47.494);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.182 0.004 264.459);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.965 0.003 286.35);
  --accent-foreground: oklch(0.182 0.004 264.459);
  --destructive: oklch(0.64 0.228 26.559);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.182 0.004 264.459);
  --chart-1: oklch(0.734 0.176 47.494);
  --chart-2: oklch(0.642 0.186 43.535);
  --chart-3: oklch(0.571 0.165 44.253);
  --chart-4: oklch(0.882 0.003 264.541);
  --chart-5: oklch(0.443 0.015 271.059);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.182 0.004 264.459);
  --foreground: oklch(0.978 0.003 217.761);
  --muted: oklch(0.356 0.013 267.175);
  --muted-foreground: oklch(0.706 0.007 277.116);
  --popover: oklch(0.27 0.009 276.757);
  --popover-foreground: oklch(0.985 0.002 217.755);
  --card: oklch(0.27 0.009 276.757);
  --card-foreground: oklch(0.985 0.002 217.755);
  --border: oklch(0.182 0.004 264.459);
  --input: oklch(0.182 0.004 264.459);
  --primary: oklch(0.642 0.186 43.535);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.27 0.009 276.757);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.356 0.013 267.175);
  --accent-foreground: oklch(0.808 0.007 217.794);
  --destructive: oklch(0.64 0.228 26.559);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.182 0.004 264.459);
  --chart-1: oklch(0.734 0.176 47.494);
  --chart-2: oklch(0.642 0.186 43.535);
  --chart-3: oklch(0.571 0.165 44.253);
  --chart-4: oklch(0.616 0.014 266.64);
  --chart-5: oklch(0.443 0.015 271.059);
}