Eerie Moot Green for shadcn/ui

Eerie Moot Green is a shadcn/ui theme built around a green primary color (#9ed822) with muted green accents (#bcc8a3). The light mode uses a neutral background (#fdfefb). Dark mode keeps the green primary (#9ed822) on a green-tinted background (#090b05).

Color palette

TokenLightDark
Background
#fdfefbwhite
#090b05black
Foreground
#000000black
#fbfcf8snow
Card
#fbfdf7snow
#0c0e06black
Card foreground
#000000black
#fdfdfcwhite
Popover
#fbfdf7snow
#0c0e06black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#9ed822yellowgreen
#9ed822yellowgreen
Primary foreground
#1d2806black
#1d2806black
Secondary
#d2d7c6lightgrey
#292d20darkslategray
Secondary foreground
#393f2cdarkslategray
#c3cab4silver
Muted
#e4e5e1gainsboro
#1d1e1ablack
Muted foreground
#44473edarkslategray
#bec1b8silver
Accent
#bcc8a3silver
#40492ddarkslategray
Accent foreground
#1f2315black
#d7dec9lightgrey
Destructive
#e62e00orangered
#ff3b0aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eef0ealinen
#1b1d16black
Input
#eef0ealinen
#1b1d16black
Ring
#9ed822yellowgreen
#9ed822yellowgreen

Contrast

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

Light mode
Text on background20.73:1AAA
Text on card20.46:1AAA
Primary button9.07:1AAA
Secondary button7.41:1AAA
Muted text7.47:1AAA
Accent9.07:1AAA
Destructive4.43:1AA Large
Dark mode
Text on background19.22:1AAA
Text on card19.06:1AAA
Primary button9.07:1AAA
Secondary button8.36:1AAA
Muted text9.18:1AAA
Accent6.90:1AA
Destructive3.56:1AA Large

CSS variables

Paste this into your globals.css to use Eerie Moot Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 120.832);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.92 0.005 120.865);
  --muted-foreground: oklch(0.392 0.016 121.435);
  --popover: oklch(0.99 0.008 120.896);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.99 0.008 120.896);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.952 0.007 120.895);
  --input: oklch(0.952 0.007 120.895);
  --primary: oklch(0.813 0.202 127.067);
  --primary-foreground: oklch(0.257 0.055 125.145);
  --secondary: oklch(0.87 0.023 121.204);
  --secondary-foreground: oklch(0.355 0.031 122.257);
  --accent: oklch(0.813 0.052 121.838);
  --accent-foreground: oklch(0.247 0.026 122.581);
  --destructive: oklch(0.598 0.222 32.767);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.813 0.202 127.067);
  --chart-1: oklch(0.813 0.202 127.067);
  --chart-2: oklch(0.87 0.023 121.204);
  --chart-3: oklch(0.813 0.052 121.838);
  --chart-4: oklch(0.891 0.019 121.125);
  --chart-5: oklch(0.823 0.206 127.303);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.015 120.64);
  --foreground: oklch(0.988 0.005 120.853);
  --muted: oklch(0.232 0.008 121.31);
  --muted-foreground: oklch(0.807 0.013 121.038);
  --popover: oklch(0.159 0.018 121.869);
  --popover-foreground: oklch(0.994 0.003 120.81);
  --card: oklch(0.159 0.018 121.869);
  --card-foreground: oklch(0.994 0.003 120.81);
  --border: oklch(0.227 0.015 121.86);
  --input: oklch(0.227 0.015 121.86);
  --primary: oklch(0.813 0.202 127.067);
  --primary-foreground: oklch(0.257 0.055 125.145);
  --secondary: oklch(0.288 0.024 122.15);
  --secondary-foreground: oklch(0.828 0.031 121.379);
  --accent: oklch(0.388 0.046 122.849);
  --accent-foreground: oklch(0.89 0.029 121.304);
  --destructive: oklch(0.652 0.235 33.197);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.813 0.202 127.067);
  --chart-1: oklch(0.813 0.202 127.067);
  --chart-2: oklch(0.288 0.024 122.15);
  --chart-3: oklch(0.388 0.046 122.849);
  --chart-4: oklch(0.322 0.027 122.21);
  --chart-5: oklch(0.823 0.206 127.303);
}