Poised Savoy for shadcn/ui

Poised Savoy is a shadcn/ui theme built around a green primary color (#82b74e) with muted light green accents (#c7d2bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#81b64c) on a green-tinted background (#0a0f06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0f06black
Foreground
#0d1406black
#ffffffwhite
Card
#ffffffwhite
#1c1c1bblack
Card foreground
#0d1406black
#ffffffwhite
Popover
#ffffffwhite
#2b2b2bdarkslategray
Popover foreground
#0d1406black
#80ff00chartreuse
Primary
#82b74eyellowgreen
#81b64cyellowgreen
Primary foreground
#1c2810black
#ffffffwhite
Secondary
#d6dad2lightgrey
#93b175darkseagreen
Secondary foreground
#3d4337darkslategray
#ffffffwhite
Muted
#dee4d7gainsboro
#1f1f1fblack
Muted foreground
#404837darkslategray
#ffffffwhite
Accent
#c7d2bcsilver
#5c5c5cdimgray
Accent foreground
#2e3725darkslategray
#f4ffe9honeydew
Destructive
#73100cmaroon
#e9312bcrimson
Destructive foreground
#f8bcbalightpink
#ffffffwhite
Border
#f2f3f2whitesmoke
#636363dimgray
Input
#f2f3f2whitesmoke
#34392fdarkslategray
Ring
#82b74eyellowgreen
#82b74eyellowgreen

Contrast

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

Light mode
Text on background18.75:1AAA
Text on card18.75:1AAA
Primary button6.46:1AA
Secondary button7.22:1AAA
Muted text7.37:1AAA
Accent7.89:1AAA
Destructive7.11:1AAA
Dark mode
Text on background19.38:1AAA
Text on card17.05:1AAA
Primary button2.40:1Fail
Secondary button2.38:1Fail
Muted text16.40:1AAA
Accent6.45:1AA
Destructive4.26:1AA Large

CSS variables

Paste this into your globals.css to use Poised Savoy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.177 0.029 129.855);
  --muted: oklch(0.912 0.019 128.696);
  --muted-foreground: oklch(0.389 0.029 129.335);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.177 0.029 129.855);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.177 0.029 129.855);
  --border: oklch(0.963 0.001 128.477);
  --input: oklch(0.963 0.001 128.477);
  --primary: oklch(0.718 0.147 131.416);
  --primary-foreground: oklch(0.258 0.044 130.725);
  --secondary: oklch(0.884 0.012 128.611);
  --secondary-foreground: oklch(0.374 0.022 129.132);
  --accent: oklch(0.848 0.031 128.877);
  --accent-foreground: oklch(0.322 0.032 129.647);
  --destructive: oklch(0.36 0.134 28.44);
  --destructive-foreground: oklch(0.848 0.07 20.896);
  --ring: oklch(0.718 0.147 131.416);
  --chart-1: oklch(0.718 0.147 131.416);
  --chart-2: oklch(0.884 0.012 128.611);
  --chart-3: oklch(0.848 0.031 128.877);
  --chart-4: oklch(0.906 0.01 128.579);
  --chart-5: oklch(0.727 0.156 131.633);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.022 128.761);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.241 0 158.199);
  --muted-foreground: oklch(1 0 180);
  --popover: oklch(0.29 0 167.471);
  --popover-foreground: oklch(0.89 0.265 135.95);
  --card: oklch(0.226 0.002 128.564);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.499 0 180);
  --input: oklch(0.336 0.018 129.09);
  --primary: oklch(0.716 0.148 131.468);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.723 0.09 129.991);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.475 0 173.29);
  --accent-foreground: oklch(0.986 0.03 128.809);
  --destructive: oklch(0.608 0.219 28.074);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.718 0.147 131.416);
  --chart-1: oklch(0.93 0.172 131.003);
  --chart-2: oklch(0.836 0.145 130.778);
  --chart-3: oklch(0.939 0.147 130.478);
  --chart-4: oklch(0.83 0.158 131.092);
  --chart-5: oklch(0.731 0.151 131.45);
}