Douglas Fir Green Parrotfish for shadcn/ui

Douglas Fir Green Parrotfish is a shadcn/ui theme built around a muted green primary color (#72977e) with muted orange accents (#977e72). The light mode uses a neutral background (#f7fcf9). Dark mode keeps the muted green primary (#72977e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fcf9mintcream
#000000black
Foreground
#040c06black
#ffffffwhite
Card
#f4fbf6mintcream
#030303black
Card foreground
#020804black
#ffffffwhite
Popover
#f4fbf6mintcream
#030303black
Popover foreground
#020804black
#ffffffwhite
Primary
#72977egray
#72977egray
Primary foreground
#000000black
#000000black
Secondary
#7e7297slategray
#7e7297slategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d3cae8thistle
#211735midnightblue
Muted foreground
#45404fdarkslategray
#b5b0bfsilver
Accent
#977e72gray
#977e72gray
Accent foreground
#000000black
#000000black
Destructive
#671a09maroon
#ec4722orangered
Destructive foreground
#f8b9ablightpink
#ffffffwhite
Border
#dfe7e2gainsboro
#1f2822black
Input
#dfe7e2gainsboro
#1f2822black
Ring
#72977egray
#72977egray

Contrast

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

Light mode
Text on background19.15:1AAA
Text on card19.21:1AAA
Primary button6.44:1AA
Secondary button4.42:1AA Large
Muted text6.36:1AA
Accent5.53:1AA
Destructive7.22:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.44:1AA
Secondary button4.42:1AA Large
Muted text8.00:1AAA
Accent5.53:1AA
Destructive3.82:1AA Large

CSS variables

Paste this into your globals.css to use Douglas Fir Green Parrotfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.007 156.424);
  --foreground: oklch(0.141 0.02 156.03);
  --muted: oklch(0.855 0.042 299.955);
  --muted-foreground: oklch(0.381 0.027 299.586);
  --popover: oklch(0.981 0.01 156.355);
  --popover-foreground: oklch(0.123 0.018 156.173);
  --card: oklch(0.981 0.01 156.355);
  --card-foreground: oklch(0.123 0.018 156.173);
  --border: oklch(0.92 0.01 156.339);
  --input: oklch(0.92 0.01 156.339);
  --primary: oklch(0.642 0.055 154.724);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.577 0.057 299.113);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.613 0.036 46.29);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.345 0.113 33.827);
  --destructive-foreground: oklch(0.839 0.076 32.973);
  --ring: oklch(0.642 0.055 154.724);
  --chart-1: oklch(0.642 0.055 154.724);
  --chart-2: oklch(0.577 0.057 299.113);
  --chart-3: oklch(0.613 0.036 46.29);
  --chart-4: oklch(0.605 0.053 299.31);
  --chart-5: oklch(0.648 0.066 154.357);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.235 0.056 296.39);
  --muted-foreground: oklch(0.765 0.023 300.277);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.267 0.018 155.193);
  --input: oklch(0.267 0.018 155.193);
  --primary: oklch(0.642 0.055 154.724);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.577 0.057 299.113);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.613 0.036 46.29);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.632 0.207 33.801);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.642 0.055 154.724);
  --chart-1: oklch(0.642 0.055 154.724);
  --chart-2: oklch(0.577 0.057 299.113);
  --chart-3: oklch(0.613 0.036 46.29);
  --chart-4: oklch(0.605 0.053 299.31);
  --chart-5: oklch(0.648 0.066 154.357);
}