Slow for shadcn/ui

Slow is a shadcn/ui theme built around a muted green primary color (#aab6aa) with muted light green accents (#c9d9c9). The light mode uses a neutral background (#fbfefb). Dark mode keeps the muted green primary (#aab6aa) on a neutral background (#020402).

Color palette

TokenLightDark
Background
#fbfefbwhite
#020402black
Foreground
#040c04black
#f9fbf9mintcream
Card
#fbfefbwhite
#020402black
Card foreground
#040c04black
#f9fbf9mintcream
Popover
#fbfefbwhite
#020402black
Popover foreground
#040c04black
#f9fbf9mintcream
Primary
#aab6aadarkgray
#aab6aadarkgray
Primary foreground
#151915black
#151915black
Secondary
#e3e8e3gainsboro
#1e241eblack
Secondary foreground
#455445darkslategray
#b4c0b4silver
Muted
#d7e4d7gainsboro
#1b281bblack
Muted foreground
#506d50darkolivegreen
#92af92darkseagreen
Accent
#c9d9c9lightgrey
#293829darkslategray
Accent foreground
#2f422fdarkslategray
#c1d1c1silver
Destructive
#6a240bmaroon
#eb6b3dtomato
Destructive foreground
#f7c3b1lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aab6aadarkgray
#aab6aadarkgray

Contrast

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

Light mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button8.45:1AAA
Secondary button6.49:1AA
Muted text4.39:1AA Large
Accent7.34:1AAA
Destructive7.13:1AAA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button8.45:1AAA
Secondary button8.38:1AAA
Muted text6.44:1AA
Accent7.79:1AAA
Destructive6.70:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 145.542);
  --foreground: oklch(0.139 0.025 144.076);
  --muted: oklch(0.907 0.023 145.384);
  --muted-foreground: oklch(0.502 0.055 144.696);
  --popover: oklch(0.994 0.005 145.542);
  --popover-foreground: oklch(0.139 0.025 144.076);
  --card: oklch(0.994 0.005 145.542);
  --card-foreground: oklch(0.139 0.025 144.076);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.764 0.023 145.349);
  --primary-foreground: oklch(0.207 0.009 145.237);
  --secondary: oklch(0.926 0.009 145.505);
  --secondary-foreground: oklch(0.428 0.031 145.001);
  --accent: oklch(0.869 0.027 145.338);
  --accent-foreground: oklch(0.355 0.041 144.66);
  --destructive: oklch(0.364 0.106 38.629);
  --destructive-foreground: oklch(0.859 0.065 40.917);
  --ring: oklch(0.764 0.023 145.349);
  --chart-1: oklch(0.764 0.023 145.349);
  --chart-2: oklch(0.926 0.009 145.505);
  --chart-3: oklch(0.869 0.027 145.338);
  --chart-4: oklch(0.948 0.006 145.528);
  --chart-5: oklch(0.766 0.031 145.264);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.014 144.385);
  --foreground: oklch(0.985 0.002 145.558);
  --muted: oklch(0.259 0.031 144.631);
  --muted-foreground: oklch(0.724 0.051 145.025);
  --popover: oklch(0.095 0.014 144.385);
  --popover-foreground: oklch(0.985 0.002 145.558);
  --card: oklch(0.095 0.014 144.385);
  --card-foreground: oklch(0.985 0.002 145.558);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.764 0.023 145.349);
  --primary-foreground: oklch(0.207 0.009 145.237);
  --secondary: oklch(0.253 0.014 145.145);
  --secondary-foreground: oklch(0.796 0.022 145.365);
  --accent: oklch(0.322 0.032 144.789);
  --accent-foreground: oklch(0.845 0.028 145.322);
  --destructive: oklch(0.676 0.169 39.744);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.764 0.023 145.349);
  --chart-1: oklch(0.764 0.023 145.349);
  --chart-2: oklch(0.253 0.014 145.145);
  --chart-3: oklch(0.322 0.032 144.789);
  --chart-4: oklch(0.285 0.017 145.12);
  --chart-5: oklch(0.766 0.031 145.264);
}