Kelly Green Harrier for shadcn/ui

Kelly Green Harrier is a shadcn/ui theme built around a green primary color (#319b5f) with teal accents (#319b94). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the green primary (#319b5f) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#030705black
Foreground
#020805black
#f9fbfamintcream
Card
#f8fcfamintcream
#030705black
Card foreground
#020805black
#f9fbfamintcream
Popover
#f8fcfamintcream
#030705black
Popover foreground
#020805black
#f9fbfamintcream
Primary
#319b5fseagreen
#319b5fseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#389b31forestgreen
#389b31forestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#deeeddgainsboro
#122211black
Muted foreground
#596558dimgray
#9ba79adarkgray
Accent
#319b94lightseagreen
#319b94lightseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#893606saddlebrown
#f66d1echocolate
Destructive foreground
#fdd9c4bisque
#000000black
Border
#edeeedwhitesmoke
#1e201eblack
Input
#edeeedwhitesmoke
#1e201eblack
Ring
#319b5fseagreen
#319b5fseagreen

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button3.50:1AA Large
Secondary button3.55:1AA Large
Muted text5.06:1AA
Accent3.36:1AA Large
Destructive6.13:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button3.50:1AA Large
Secondary button3.55:1AA Large
Muted text6.65:1AA
Accent3.36:1AA Large
Destructive7.10:1AAA

CSS variables

Paste this into your globals.css to use Kelly Green Harrier in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 161.679);
  --foreground: oklch(0.123 0.016 161.79);
  --muted: oklch(0.932 0.027 143.481);
  --muted-foreground: oklch(0.492 0.026 143.357);
  --popover: oklch(0.987 0.005 161.679);
  --popover-foreground: oklch(0.123 0.016 161.79);
  --card: oklch(0.987 0.005 161.679);
  --card-foreground: oklch(0.123 0.016 161.79);
  --border: oklch(0.947 0.001 161.772);
  --input: oklch(0.947 0.001 161.772);
  --primary: oklch(0.614 0.132 154.318);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.609 0.17 142.181);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.629 0.095 188.614);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.443 0.125 43.89);
  --destructive-foreground: oklch(0.91 0.049 51.897);
  --ring: oklch(0.614 0.132 154.318);
  --chart-1: oklch(0.614 0.132 154.318);
  --chart-2: oklch(0.609 0.17 142.181);
  --chart-3: oklch(0.629 0.095 188.614);
  --chart-4: oklch(0.643 0.18 142.177);
  --chart-5: oklch(0.622 0.138 153.92);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.014 161.792);
  --foreground: oklch(0.986 0.002 161.76);
  --muted: oklch(0.231 0.037 142.758);
  --muted-foreground: oklch(0.716 0.023 143.462);
  --popover: oklch(0.122 0.014 161.792);
  --popover-foreground: oklch(0.986 0.002 161.76);
  --card: oklch(0.122 0.014 161.792);
  --card-foreground: oklch(0.986 0.002 161.76);
  --border: oklch(0.239 0.003 161.465);
  --input: oklch(0.239 0.003 161.465);
  --primary: oklch(0.614 0.132 154.318);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.609 0.17 142.181);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.629 0.095 188.614);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.692 0.187 44.997);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.614 0.132 154.318);
  --chart-1: oklch(0.614 0.132 154.318);
  --chart-2: oklch(0.609 0.17 142.181);
  --chart-3: oklch(0.629 0.095 188.614);
  --chart-4: oklch(0.643 0.18 142.177);
  --chart-5: oklch(0.622 0.138 153.92);
}