Hilarious Tamboon for shadcn/ui

Hilarious Tamboon is a shadcn/ui theme built around a muted green primary color (#b8c5aa) with muted violet accents (#b7aac5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#b8c5aa) on a neutral background (#050703).

Color palette

TokenLightDark
Background
#ffffffwhite
#050703black
Foreground
#080c03black
#fcfdfcwhite
Card
#ffffffwhite
#050703black
Card foreground
#080c03black
#fcfdfcwhite
Popover
#ffffffwhite
#050703black
Popover foreground
#080c03black
#fcfdfcwhite
Primary
#b8c5aasilver
#b8c5aasilver
Primary foreground
#1f2419black
#1f2419black
Secondary
#b7aac5silver
#b7aac5silver
Secondary foreground
#1e1924black
#1e1924black
Muted
#d9d7dbgainsboro
#262428darkslategray
Muted foreground
#424044darkslategray
#bdbbbfsilver
Accent
#b7aac5silver
#b7aac5silver
Accent foreground
#1e1924black
#1e1924black
Destructive
#b83400firebrick
#ff6529tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#f2f3f2whitesmoke
#21231fblack
Input
#f2f3f2whitesmoke
#21231fblack
Ring
#b8c5aasilver
#b8c5aasilver

Contrast

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

Light mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button8.77:1AAA
Secondary button7.85:1AAA
Muted text7.15:1AAA
Accent7.85:1AAA
Destructive5.96:1AA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button8.77:1AAA
Secondary button7.85:1AAA
Muted text8.04:1AAA
Accent7.85:1AAA
Destructive7.16:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.024 126.935);
  --muted: oklch(0.881 0.006 307.715);
  --muted-foreground: oklch(0.376 0.007 307.567);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.024 126.935);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.146 0.024 126.935);
  --border: oklch(0.963 0.002 127.811);
  --input: oklch(0.963 0.002 127.811);
  --primary: oklch(0.806 0.04 128.383);
  --primary-foreground: oklch(0.252 0.023 128.899);
  --secondary: oklch(0.758 0.041 307.161);
  --secondary-foreground: oklch(0.225 0.024 306.554);
  --accent: oklch(0.758 0.041 307.161);
  --accent-foreground: oklch(0.225 0.024 306.554);
  --destructive: oklch(0.521 0.175 36.751);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.806 0.04 128.383);
  --chart-1: oklch(0.806 0.04 128.383);
  --chart-2: oklch(0.758 0.041 307.161);
  --chart-3: oklch(0.758 0.041 307.161);
  --chart-4: oklch(0.785 0.036 307.252);
  --chart-5: oklch(0.81 0.046 128.475);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.013 127.07);
  --foreground: oklch(0.994 0.002 127.818);
  --muted: oklch(0.265 0.007 307.46);
  --muted-foreground: oklch(0.794 0.006 307.702);
  --popover: oklch(0.123 0.013 127.07);
  --popover-foreground: oklch(0.994 0.002 127.818);
  --card: oklch(0.123 0.013 127.07);
  --card-foreground: oklch(0.994 0.002 127.818);
  --border: oklch(0.252 0.007 128.096);
  --input: oklch(0.252 0.007 128.096);
  --primary: oklch(0.806 0.04 128.383);
  --primary-foreground: oklch(0.252 0.023 128.899);
  --secondary: oklch(0.758 0.041 307.161);
  --secondary-foreground: oklch(0.225 0.024 306.554);
  --accent: oklch(0.758 0.041 307.161);
  --accent-foreground: oklch(0.225 0.024 306.554);
  --destructive: oklch(0.697 0.2 39.636);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.806 0.04 128.383);
  --chart-1: oklch(0.806 0.04 128.383);
  --chart-2: oklch(0.758 0.041 307.161);
  --chart-3: oklch(0.758 0.041 307.161);
  --chart-4: oklch(0.785 0.036 307.252);
  --chart-5: oklch(0.81 0.046 128.475);
}