Crème de la Crème Bandicoot for shadcn/ui

Crème de la Crème Bandicoot is a shadcn/ui theme built around a light yellow primary color (#f3e7b4) with muted yellow accents (#c1bca4). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the light yellow primary (#f3e7b4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfbf8snow
#000000black
Foreground
#000000black
#fdfdfcwhite
Card
#faf9f4whitesmoke
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfbf8snow
#000000black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#f3e7b4wheat
#f3e7b4wheat
Primary foreground
#0d0b02black
#0d0b02black
Secondary
#d3d1c5lightgrey
#171612black
Secondary foreground
#3a382cdarkslategray
#b8b4a3darkgray
Muted
#e3e2degainsboro
#21201cblack
Muted foreground
#5d5946darkolivegreen
#b9b5a2darkgray
Accent
#c1bca4silver
#343122darkslategray
Accent foreground
#1e1d15black
#d1ccb8silver
Destructive
#9c240dfirebrick
#ee4f2ftomato
Destructive foreground
#fce3demistyrose
#ffffffwhite
Border
#f0efealinen
#29271edarkslategray
Input
#f0efealinen
#29271edarkslategray
Ring
#f3e7b4wheat
#f3e7b4wheat

Contrast

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

Light mode
Text on background20.30:1AAA
Text on card19.95:1AAA
Primary button15.89:1AAA
Secondary button7.66:1AAA
Muted text5.41:1AA
Accent8.83:1AAA
Destructive6.43:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button15.89:1AAA
Secondary button8.69:1AAA
Muted text7.91:1AAA
Accent8.08:1AAA
Destructive3.61:1AA Large

CSS variables

Paste this into your globals.css to use Crème de la Crème Bandicoot in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 96.219);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.912 0.005 96.231);
  --muted-foreground: oklch(0.462 0.029 96.835);
  --popover: oklch(0.988 0.004 96.219);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.006 96.247);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.951 0.006 96.244);
  --input: oklch(0.951 0.006 96.244);
  --primary: oklch(0.926 0.067 96.899);
  --primary-foreground: oklch(0.149 0.023 100.252);
  --secondary: oklch(0.858 0.016 96.394);
  --secondary-foreground: oklch(0.338 0.02 96.797);
  --accent: oklch(0.792 0.033 96.641);
  --accent-foreground: oklch(0.228 0.015 96.846);
  --destructive: oklch(0.455 0.159 32.796);
  --destructive-foreground: oklch(0.935 0.029 31.13);
  --ring: oklch(0.926 0.067 96.899);
  --chart-1: oklch(0.926 0.067 96.899);
  --chart-2: oklch(0.858 0.016 96.394);
  --chart-3: oklch(0.792 0.033 96.641);
  --chart-4: oklch(0.88 0.014 96.356);
  --chart-5: oklch(0.928 0.07 96.916);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 96.178);
  --muted: oklch(0.243 0.007 96.489);
  --muted-foreground: oklch(0.77 0.026 96.564);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 96.178);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.272 0.016 96.789);
  --input: oklch(0.272 0.016 96.789);
  --primary: oklch(0.926 0.067 96.899);
  --primary-foreground: oklch(0.149 0.023 100.252);
  --secondary: oklch(0.2 0.009 96.649);
  --secondary-foreground: oklch(0.769 0.024 96.539);
  --accent: oklch(0.312 0.025 96.955);
  --accent-foreground: oklch(0.844 0.028 96.55);
  --destructive: oklch(0.645 0.201 33.196);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.926 0.067 96.899);
  --chart-1: oklch(0.926 0.067 96.899);
  --chart-2: oklch(0.2 0.009 96.649);
  --chart-3: oklch(0.312 0.025 96.955);
  --chart-4: oklch(0.236 0.011 96.696);
  --chart-5: oklch(0.928 0.07 96.916);
}