Mountain Range Green Sheep for shadcn/ui

Mountain Range Green Sheep is a shadcn/ui theme built around a muted deep green primary color (#26331f) with muted deep pink accents (#331f26). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the muted deep green primary (#26331f) on a green-tinted background (#091004).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#091004black
Foreground
#020401black
#ffffffwhite
Card
#f6fcf3whitesmoke
#0b1406black
Card foreground
#000000black
#ffffffwhite
Popover
#f6fcf3whitesmoke
#0b1406black
Popover foreground
#000000black
#ffffffwhite
Primary
#26331fdarkslategray
#26331fdarkslategray
Primary foreground
#bed1b3silver
#bed1b3silver
Secondary
#1f2633darkslategray
#1f2633darkslategray
Secondary foreground
#b3bed1lightsteelblue
#b3bed1lightsteelblue
Muted
#efeff0whitesmoke
#0f0f10black
Muted foreground
#4e5155darkslategray
#aaadb1darkgray
Accent
#331f26darkslategray
#331f26darkslategray
Accent foreground
#d1b3besilver
#d1b3besilver
Destructive
#d35612chocolate
#ec6c27chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7e4gainsboro
#21231fblack
Input
#e5e7e4gainsboro
#21231fblack
Ring
#26331fdarkslategray
#26331fdarkslategray

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card20.13:1AAA
Primary button8.22:1AAA
Secondary button8.09:1AAA
Muted text6.96:1AA
Accent8.01:1AAA
Destructive4.11:1AA Large
Dark mode
Text on background19.32:1AAA
Text on card18.82:1AAA
Primary button8.22:1AAA
Secondary button8.09:1AAA
Muted text8.50:1AAA
Accent8.01:1AAA
Destructive6.75:1AA

CSS variables

Paste this into your globals.css to use Mountain Range Green Sheep in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.009 133.664);
  --foreground: oklch(0.102 0.021 131.691);
  --muted: oklch(0.953 0.001 261.514);
  --muted-foreground: oklch(0.433 0.007 261.501);
  --popover: oklch(0.984 0.014 133.693);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.014 133.693);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.926 0.005 133.637);
  --input: oklch(0.926 0.005 133.637);
  --primary: oklch(0.303 0.039 134.533);
  --primary-foreground: oklch(0.838 0.047 133.966);
  --secondary: oklch(0.268 0.027 261.224);
  --secondary-foreground: oklch(0.798 0.03 261.46);
  --accent: oklch(0.267 0.034 356.017);
  --accent-foreground: oklch(0.795 0.038 353.911);
  --destructive: oklch(0.608 0.173 42.929);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.303 0.039 134.533);
  --chart-1: oklch(0.303 0.039 134.533);
  --chart-2: oklch(0.268 0.027 261.224);
  --chart-3: oklch(0.267 0.034 356.017);
  --chart-4: oklch(0.297 0.031 261.203);
  --chart-5: oklch(0.306 0.044 134.651);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.028 133.092);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.169 0.002 261.506);
  --muted-foreground: oklch(0.745 0.007 261.51);
  --popover: oklch(0.177 0.032 134.111);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.177 0.032 134.111);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.253 0.008 133.812);
  --input: oklch(0.253 0.008 133.812);
  --primary: oklch(0.303 0.039 134.533);
  --primary-foreground: oklch(0.838 0.047 133.966);
  --secondary: oklch(0.268 0.027 261.224);
  --secondary-foreground: oklch(0.798 0.03 261.46);
  --accent: oklch(0.267 0.034 356.017);
  --accent-foreground: oklch(0.795 0.038 353.911);
  --destructive: oklch(0.677 0.176 44.81);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.303 0.039 134.533);
  --chart-1: oklch(0.303 0.039 134.533);
  --chart-2: oklch(0.268 0.027 261.224);
  --chart-3: oklch(0.267 0.034 356.017);
  --chart-4: oklch(0.297 0.031 261.203);
  --chart-5: oklch(0.306 0.044 134.651);
}