Gullible for shadcn/ui

Gullible is a shadcn/ui theme built around a muted yellow primary color (#9f9784) with muted blue accents (#848c9f). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the muted yellow primary (#9f9784) on a yellow-tinted background (#100c05).

Color palette

TokenLightDark
Background
#fdfbf7snow
#100c05black
Foreground
#110d04black
#faf8f5whitesmoke
Card
#fcf9f3floralwhite
#131006black
Card foreground
#0d0a03black
#fcfbf8snow
Popover
#fcf9f3floralwhite
#131006black
Popover foreground
#0d0a03black
#fcfbf8snow
Primary
#9f9784rosybrown
#9f9784rosybrown
Primary foreground
#000000black
#000000black
Secondary
#848c9flightslategray
#848c9flightslategray
Secondary foreground
#000000black
#000000black
Muted
#eaedf5lavender
#0a0d15black
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#848c9flightslategray
#848c9flightslategray
Accent foreground
#000000black
#000000black
Destructive
#9e1205darkred
#f83725orangered
Destructive foreground
#fedbd7mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9f9784rosybrown
#9f9784rosybrown

Contrast

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

Light mode
Text on background18.78:1AAA
Text on card18.86:1AAA
Primary button7.22:1AAA
Secondary button6.21:1AA
Muted text5.54:1AA
Accent6.21:1AA
Destructive6.41:1AA
Dark mode
Text on background18.37:1AAA
Text on card18.39:1AAA
Primary button7.22:1AAA
Secondary button6.21:1AA
Muted text7.52:1AAA
Accent6.21:1AA
Destructive3.76:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 88.831);
  --foreground: oklch(0.16 0.022 91.597);
  --muted: oklch(0.947 0.011 268.704);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.983 0.009 88.851);
  --popover-foreground: oklch(0.144 0.019 93.924);
  --card: oklch(0.983 0.009 88.851);
  --card-foreground: oklch(0.144 0.019 93.924);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.678 0.028 88.991);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.639 0.03 268.405);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.639 0.03 268.405);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.447 0.174 30.194);
  --destructive-foreground: oklch(0.919 0.04 24.051);
  --ring: oklch(0.678 0.028 88.991);
  --chart-1: oklch(0.678 0.028 88.991);
  --chart-2: oklch(0.639 0.03 268.405);
  --chart-3: oklch(0.639 0.03 268.405);
  --chart-4: oklch(0.666 0.027 268.457);
  --chart-5: oklch(0.683 0.035 89.01);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.018 91.078);
  --foreground: oklch(0.981 0.005 88.825);
  --muted: oklch(0.159 0.018 267.642);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.173 0.02 89.743);
  --popover-foreground: oklch(0.987 0.003 88.814);
  --card: oklch(0.173 0.02 89.743);
  --card-foreground: oklch(0.987 0.003 88.814);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.678 0.028 88.991);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.639 0.03 268.405);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.639 0.03 268.405);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.639 0.23 29.904);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.678 0.028 88.991);
  --chart-1: oklch(0.678 0.028 88.991);
  --chart-2: oklch(0.639 0.03 268.405);
  --chart-3: oklch(0.639 0.03 268.405);
  --chart-4: oklch(0.666 0.027 268.457);
  --chart-5: oklch(0.683 0.035 89.01);
}