Lengthy Oregano Green for shadcn/ui

Lengthy Oregano Green is a shadcn/ui theme built around a green primary color (#3fa23f) with purple accents (#a23fa2). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the green primary (#3fa23f) on a green-tinted background (#050a05).

Color palette

TokenLightDark
Background
#f7fdf7mintcream
#050a05black
Foreground
#051005black
#ffffffwhite
Card
#f7fdf7mintcream
#050a05black
Card foreground
#051005black
#ffffffwhite
Popover
#f7fdf7mintcream
#050a05black
Popover foreground
#051005black
#ffffffwhite
Primary
#3fa23fseagreen
#3fa23fseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a23fa2darkorchid
#a23fa2darkorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#efdceflavender
#231023black
Muted foreground
#666666dimgray
#999999darkgray
Accent
#a23fa2darkorchid
#a23fa2darkorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#95390fsaddlebrown
#e96020chocolate
Destructive foreground
#fbe4daantiquewhite
#000000black
Border
#e2e9e2gainsboro
#1e291eblack
Input
#e2e9e2gainsboro
#1e291eblack
Ring
#3fa23fseagreen
#3fa23fseagreen

Contrast

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

Light mode
Text on background18.76:1AAA
Text on card18.76:1AAA
Primary button3.27:1AA Large
Secondary button5.59:1AA
Muted text4.40:1AA Large
Accent5.59:1AA
Destructive6.01:1AA
Dark mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button3.27:1AA Large
Secondary button5.59:1AA
Muted text6.30:1AA
Accent5.59:1AA
Destructive6.15:1AA

CSS variables

Paste this into your globals.css to use Lengthy Oregano Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.01 145.501);
  --foreground: oklch(0.156 0.03 143.958);
  --muted: oklch(0.915 0.034 325.852);
  --muted-foreground: oklch(0.51 0 171.87);
  --popover: oklch(0.988 0.01 145.501);
  --popover-foreground: oklch(0.156 0.03 143.958);
  --card: oklch(0.988 0.01 145.501);
  --card-foreground: oklch(0.156 0.03 143.958);
  --border: oklch(0.927 0.013 145.469);
  --input: oklch(0.927 0.013 145.469);
  --primary: oklch(0.631 0.165 143.305);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.539 0.177 327.686);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.539 0.177 327.686);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.467 0.133 41.381);
  --destructive-foreground: oklch(0.936 0.029 46.532);
  --ring: oklch(0.631 0.165 143.305);
  --chart-1: oklch(0.631 0.165 143.305);
  --chart-2: oklch(0.539 0.177 327.686);
  --chart-3: oklch(0.539 0.177 327.686);
  --chart-4: oklch(0.565 0.186 327.696);
  --chart-5: oklch(0.638 0.174 143.205);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.017 144.563);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.21 0.048 327.108);
  --muted-foreground: oklch(0.683 0 180);
  --popover: oklch(0.137 0.017 144.563);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.017 144.563);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.267 0.025 144.846);
  --input: oklch(0.267 0.025 144.846);
  --primary: oklch(0.631 0.165 143.305);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.539 0.177 327.686);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.539 0.177 327.686);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.655 0.184 41.632);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.631 0.165 143.305);
  --chart-1: oklch(0.631 0.165 143.305);
  --chart-2: oklch(0.539 0.177 327.686);
  --chart-3: oklch(0.539 0.177 327.686);
  --chart-4: oklch(0.565 0.186 327.696);
  --chart-5: oklch(0.638 0.174 143.205);
}