Hillsbrad Grass Lemur - DRP for shadcn/ui

Hillsbrad Grass Lemur - DRP is a shadcn/ui theme built around a green primary color (#79a423) with muted light green accents (#d3dbc2). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the green primary (#79a423) on a green-tinted background (#080a05).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#080a05black
Foreground
#090c03black
#fafcf8snow
Card
#fdfdfcwhite
#080a05black
Card foreground
#090c03black
#fafcf8snow
Popover
#fdfdfcwhite
#080a05black
Popover foreground
#090c03black
#fafcf8snow
Primary
#79a423olivedrab
#79a423olivedrab
Primary foreground
#000000black
#000000black
Secondary
#dde2d5gainsboro
#2b2f23darkslategray
Secondary foreground
#464e36darkolivegreen
#c5cbb9silver
Muted
#e4e7dfgainsboro
#1d2018black
Muted foreground
#585f49darkolivegreen
#aeb6a0darkgray
Accent
#d3dbc2lightgrey
#424c2fdarkolivegreen
Accent foreground
#3a4328darkslategray
#d9e0cclightgrey
Destructive
#95110fdarkred
#e81a17crimson
Destructive foreground
#fbdadamistyrose
#ffffffwhite
Border
#edeeedwhitesmoke
#1c1d1bblack
Input
#edeeedwhitesmoke
#1c1d1bblack
Ring
#79a423olivedrab
#79a423olivedrab

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 button7.15:1AAA
Secondary button6.61:1AA
Muted text5.34:1AA
Accent7.29:1AAA
Destructive6.85:1AA
Dark mode
Text on background19.25:1AAA
Text on card19.25:1AAA
Primary button7.15:1AAA
Secondary button8.23:1AAA
Muted text7.83:1AAA
Accent6.72:1AA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Hillsbrad Grass Lemur - DRP in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 121.526);
  --foreground: oklch(0.147 0.022 121.459);
  --muted: oklch(0.924 0.012 121.696);
  --muted-foreground: oklch(0.473 0.035 122.719);
  --popover: oklch(0.994 0.002 121.526);
  --popover-foreground: oklch(0.147 0.022 121.459);
  --card: oklch(0.994 0.002 121.526);
  --card-foreground: oklch(0.147 0.022 121.459);
  --border: oklch(0.948 0.001 121.518);
  --input: oklch(0.948 0.001 121.518);
  --primary: oklch(0.664 0.158 127.015);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.905 0.018 121.811);
  --secondary-foreground: oklch(0.411 0.039 123.099);
  --accent: oklch(0.879 0.035 122.14);
  --accent-foreground: oklch(0.368 0.046 123.666);
  --destructive: oklch(0.427 0.164 28.377);
  --destructive-foreground: oklch(0.917 0.037 18.999);
  --ring: oklch(0.664 0.158 127.015);
  --chart-1: oklch(0.664 0.158 127.015);
  --chart-2: oklch(0.905 0.018 121.811);
  --chart-3: oklch(0.879 0.035 122.14);
  --chart-4: oklch(0.926 0.014 121.736);
  --chart-5: oklch(0.672 0.163 127.251);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.012 121.298);
  --foreground: oklch(0.988 0.005 121.567);
  --muted: oklch(0.239 0.016 122.6);
  --muted-foreground: oklch(0.764 0.032 122.163);
  --popover: oklch(0.14 0.012 121.298);
  --popover-foreground: oklch(0.988 0.005 121.567);
  --card: oklch(0.14 0.012 121.298);
  --card-foreground: oklch(0.988 0.005 121.567);
  --border: oklch(0.229 0.003 121.725);
  --input: oklch(0.229 0.003 121.725);
  --primary: oklch(0.664 0.158 127.015);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.297 0.022 122.721);
  --secondary-foreground: oklch(0.832 0.026 121.998);
  --accent: oklch(0.399 0.048 123.561);
  --accent-foreground: oklch(0.896 0.027 121.983);
  --destructive: oklch(0.592 0.232 28.676);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.664 0.158 127.015);
  --chart-1: oklch(0.664 0.158 127.015);
  --chart-2: oklch(0.297 0.022 122.721);
  --chart-3: oklch(0.399 0.048 123.561);
  --chart-4: oklch(0.33 0.026 122.77);
  --chart-5: oklch(0.672 0.163 127.251);
}