Mountain Meadow Green Gull for shadcn/ui

Mountain Meadow Green Gull is a shadcn/ui theme built around a green primary color (#40863c) with muted light green accents (#cad3ca). The light mode uses a neutral background (#fcfdfb). Dark mode keeps the green primary (#40863c) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#fcfdfbsnow
#020302black
Foreground
#051504black
#fcfdfcwhite
Card
#f8fcf8mintcream
#030703black
Card foreground
#041103black
#ffffffwhite
Popover
#fcfdfbsnow
#020302black
Popover foreground
#051504black
#fcfdfcwhite
Primary
#40863cseagreen
#40863cseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e2e4e2gainsboro
#20231fblack
Secondary foreground
#484c48darkslategray
#b7beb7silver
Muted
#dfe8degainsboro
#182117black
Muted foreground
#454a45darkslategray
#b6bab5silver
Accent
#cad3calightgrey
#2b362bdarkslategray
Accent foreground
#313b30darkslategray
#c4d0c3silver
Destructive
#91160ddarkred
#ec3022crimson
Destructive foreground
#fbd7d5mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#40863cseagreen
#40863cseagreen

Contrast

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

Light mode
Text on background18.49:1AAA
Text on card18.64:1AAA
Primary button4.49:1AA Large
Secondary button6.83:1AA
Muted text7.20:1AAA
Accent7.62:1AAA
Destructive6.77:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.27:1AAA
Primary button4.49:1AA Large
Secondary button8.38:1AAA
Muted text8.43:1AAA
Accent7.87:1AAA
Destructive4.19:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 144.11);
  --foreground: oklch(0.176 0.043 142.234);
  --muted: oklch(0.921 0.016 144.028);
  --muted-foreground: oklch(0.402 0.009 144.001);
  --popover: oklch(0.993 0.003 144.11);
  --popover-foreground: oklch(0.176 0.043 142.234);
  --card: oklch(0.987 0.007 144.09);
  --card-foreground: oklch(0.16 0.037 142.169);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.556 0.129 142.691);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.917 0.003 144.112);
  --secondary-foreground: oklch(0.412 0.009 144);
  --accent: oklch(0.858 0.017 144.017);
  --accent-foreground: oklch(0.339 0.023 143.725);
  --destructive: oklch(0.424 0.159 29.588);
  --destructive-foreground: oklch(0.91 0.04 22.763);
  --ring: oklch(0.556 0.129 142.691);
  --chart-1: oklch(0.556 0.129 142.691);
  --chart-2: oklch(0.917 0.003 144.112);
  --chart-3: oklch(0.858 0.017 144.017);
  --chart-4: oklch(0.939 0.002 144.117);
  --chart-5: oklch(0.562 0.137 142.619);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.012 143.052);
  --foreground: oklch(0.993 0.001 144.122);
  --muted: oklch(0.235 0.022 143.557);
  --muted-foreground: oklch(0.784 0.007 144.074);
  --popover: oklch(0.095 0.012 143.052);
  --popover-foreground: oklch(0.993 0.001 144.122);
  --card: oklch(0.12 0.015 143.052);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.556 0.129 142.691);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.251 0.008 143.949);
  --secondary-foreground: oklch(0.793 0.012 144.041);
  --accent: oklch(0.32 0.025 143.656);
  --accent-foreground: oklch(0.844 0.022 143.976);
  --destructive: oklch(0.612 0.224 29.414);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.556 0.129 142.691);
  --chart-1: oklch(0.556 0.129 142.691);
  --chart-2: oklch(0.251 0.008 143.949);
  --chart-3: oklch(0.32 0.025 143.656);
  --chart-4: oklch(0.283 0.009 143.939);
  --chart-5: oklch(0.562 0.137 142.619);
}