Garden Weed Peacock for shadcn/ui

Garden Weed Peacock is a shadcn/ui theme built around a yellow primary color (#777137) with muted light yellow accents (#d0cfbd). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the yellow primary (#777137) on a neutral background (#070703).

Color palette

TokenLightDark
Background
#fcfcf8snow
#070703black
Foreground
#090901black
#ffffffwhite
Card
#fcfcf8snow
#070703black
Card foreground
#090901black
#ffffffwhite
Popover
#fcfcf8snow
#070703black
Popover foreground
#090901black
#ffffffwhite
Primary
#777137darkolivegreen
#777137darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e0e0dcgainsboro
#2d2d2adarkslategray
Secondary foreground
#4a4940darkslategray
#c7c6c2silver
Muted
#e5e4e1gainsboro
#1e1d1ablack
Muted foreground
#4c4b3edarkslategray
#c1c0b3silver
Accent
#d0cfbdsilver
#464539darkslategray
Accent foreground
#363426darkslategray
#dddcd5gainsboro
Destructive
#6f0801maroon
#fd392borangered
Destructive foreground
#feaaa4lightpink
#ffffffwhite
Border
#e5e5e1gainsboro
#292824darkslategray
Input
#e5e5e1gainsboro
#292824darkslategray
Ring
#777137darkolivegreen
#777137darkolivegreen

Contrast

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

Light mode
Text on background19.37:1AAA
Text on card19.37:1AAA
Primary button4.97:1AA
Secondary button6.83:1AA
Muted text6.94:1AA
Accent7.96:1AAA
Destructive6.70:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button4.97:1AA
Secondary button8.09:1AAA
Muted text9.16:1AAA
Accent7.02:1AAA
Destructive3.62:1AA Large

CSS variables

Paste this into your globals.css to use Garden Weed Peacock in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 102.294);
  --foreground: oklch(0.134 0.024 106.135);
  --muted: oklch(0.919 0.004 102.286);
  --muted-foreground: oklch(0.408 0.02 102.982);
  --popover: oklch(0.989 0.005 102.294);
  --popover-foreground: oklch(0.134 0.024 106.135);
  --card: oklch(0.989 0.005 102.294);
  --card-foreground: oklch(0.134 0.024 106.135);
  --border: oklch(0.92 0.005 102.298);
  --input: oklch(0.92 0.005 102.298);
  --primary: oklch(0.542 0.08 104.051);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.905 0.006 102.316);
  --secondary-foreground: oklch(0.403 0.014 102.775);
  --accent: oklch(0.851 0.024 102.656);
  --accent-foreground: oklch(0.323 0.024 103.318);
  --destructive: oklch(0.345 0.135 30.476);
  --destructive-foreground: oklch(0.819 0.1 23.977);
  --ring: oklch(0.542 0.08 104.051);
  --chart-1: oklch(0.542 0.08 104.051);
  --chart-2: oklch(0.905 0.006 102.316);
  --chart-3: oklch(0.851 0.024 102.656);
  --chart-4: oklch(0.927 0.004 102.29);
  --chart-5: oklch(0.549 0.085 104.087);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.01 104.197);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.232 0.006 102.612);
  --muted-foreground: oklch(0.805 0.017 102.559);
  --popover: oklch(0.124 0.01 104.197);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.01 104.197);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.009 102.714);
  --input: oklch(0.278 0.009 102.714);
  --primary: oklch(0.542 0.08 104.051);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.295 0.006 102.52);
  --secondary-foreground: oklch(0.827 0.006 102.329);
  --accent: oklch(0.388 0.019 102.973);
  --accent-foreground: oklch(0.893 0.009 102.385);
  --destructive: oklch(0.649 0.232 29.256);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.542 0.08 104.051);
  --chart-1: oklch(0.542 0.08 104.051);
  --chart-2: oklch(0.295 0.006 102.52);
  --chart-3: oklch(0.388 0.019 102.973);
  --chart-4: oklch(0.327 0.006 102.531);
  --chart-5: oklch(0.549 0.085 104.087);
}