Old Lime Cuckoo for shadcn/ui

Old Lime Cuckoo is a shadcn/ui theme built around a green primary color (#aec671) with muted light green accents (#cad2b6). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the green primary (#aec671) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcf8snow
#000000black
Foreground
#000000black
#ffffffwhite
Card
#fbfcf8snow
#000000black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfcf8snow
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#aec671darkkhaki
#aec671darkkhaki
Primary foreground
#030401black
#030401black
Secondary
#dee1d6gainsboro
#1b1d16black
Secondary foreground
#474d38darkslategray
#b6bca9darkgray
Muted
#ebede9linen
#151612black
Muted foreground
#696d5fdimgray
#9ca092darkgray
Accent
#cad2b6silver
#2c3022darkslategray
Accent foreground
#303621darkslategray
#c6ccb7silver
Destructive
#94130adarkred
#ee1f11red
Destructive foreground
#fcd7d4mistyrose
#ffffffwhite
Border
#e4e6e0gainsboro
#23251eblack
Input
#e4e6e0gainsboro
#23251eblack
Ring
#aec671darkkhaki
#aec671darkkhaki

Contrast

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

Light mode
Text on background20.31:1AAA
Text on card20.31:1AAA
Primary button10.90:1AAA
Secondary button6.63:1AA
Muted text4.50:1AA
Accent8.03:1AAA
Destructive6.70:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button10.90:1AAA
Secondary button8.74:1AAA
Muted text6.77:1AA
Accent8.22:1AAA
Destructive4.32:1AA Large

CSS variables

Paste this into your globals.css to use Old Lime Cuckoo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 119.383);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.943 0.006 119.405);
  --muted-foreground: oklch(0.527 0.022 120.035);
  --popover: oklch(0.988 0.005 119.383);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.005 119.383);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.922 0.008 119.462);
  --input: oklch(0.922 0.008 119.462);
  --primary: oklch(0.79 0.114 121.997);
  --primary-foreground: oklch(0.1 0.011 119.283);
  --secondary: oklch(0.904 0.016 119.603);
  --secondary-foreground: oklch(0.408 0.035 120.804);
  --accent: oklch(0.851 0.039 120.096);
  --accent-foreground: oklch(0.32 0.036 121.308);
  --destructive: oklch(0.427 0.163 29.668);
  --destructive-foreground: oklch(0.909 0.042 22.786);
  --ring: oklch(0.79 0.114 121.997);
  --chart-1: oklch(0.79 0.114 121.997);
  --chart-2: oklch(0.904 0.016 119.603);
  --chart-3: oklch(0.851 0.039 120.096);
  --chart-4: oklch(0.925 0.012 119.532);
  --chart-5: oklch(0.797 0.121 122.163);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.199 0.008 120.009);
  --muted-foreground: oklch(0.699 0.021 119.819);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.259 0.014 120.213);
  --input: oklch(0.259 0.014 120.213);
  --primary: oklch(0.79 0.114 121.997);
  --primary-foreground: oklch(0.1 0.011 119.283);
  --secondary: oklch(0.225 0.012 120.214);
  --secondary-foreground: oklch(0.785 0.026 119.876);
  --accent: oklch(0.3 0.025 120.746);
  --accent-foreground: oklch(0.836 0.029 119.903);
  --destructive: oklch(0.606 0.236 29.745);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.79 0.114 121.997);
  --chart-1: oklch(0.79 0.114 121.997);
  --chart-2: oklch(0.225 0.012 120.214);
  --chart-3: oklch(0.3 0.025 120.746);
  --chart-4: oklch(0.26 0.015 120.291);
  --chart-5: oklch(0.797 0.121 122.163);
}