Plow for shadcn/ui

Plow is a shadcn/ui theme built around a muted yellow primary color (#b5b4a6) with muted indigo accents (#a6a6b5). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the muted yellow primary (#b5b4a6) on a neutral background (#040401).

Color palette

TokenLightDark
Background
#fbfbf8snow
#040401black
Foreground
#121103black
#f9f9f6whitesmoke
Card
#fbfbf8snow
#040401black
Card foreground
#121103black
#f9f9f6whitesmoke
Popover
#fbfbf8snow
#040401black
Popover foreground
#121103black
#f9f9f6whitesmoke
Primary
#b5b4a6darkgray
#b5b4a6darkgray
Primary foreground
#161613black
#161613black
Secondary
#a6a6b5darkgray
#a6a6b5darkgray
Secondary foreground
#131316black
#131316black
Muted
#e2e3e9gainsboro
#16171dblack
Muted foreground
#3c3d48darkslategray
#b7b7c3silver
Accent
#a6a6b5darkgray
#a6a6b5darkgray
Accent foreground
#131316black
#131316black
Destructive
#5e2608maroon
#e15c14chocolate
Destructive foreground
#f7bfa1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b5b4a6darkgray
#b5b4a6darkgray

Contrast

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

Light mode
Text on background18.35:1AAA
Text on card18.35:1AAA
Primary button8.70:1AAA
Secondary button7.73:1AAA
Muted text8.37:1AAA
Accent7.73:1AAA
Destructive7.35:1AAA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button8.70:1AAA
Secondary button7.73:1AAA
Muted text9.02:1AAA
Accent7.73:1AAA
Destructive3.66:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 105.688);
  --foreground: oklch(0.174 0.03 108.351);
  --muted: oklch(0.916 0.008 285.458);
  --muted-foreground: oklch(0.363 0.02 284.582);
  --popover: oklch(0.988 0.004 105.688);
  --popover-foreground: oklch(0.174 0.03 108.351);
  --card: oklch(0.988 0.004 105.688);
  --card-foreground: oklch(0.174 0.03 108.351);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.768 0.02 106.074);
  --primary-foreground: oklch(0.2 0.007 106.226);
  --secondary: oklch(0.73 0.021 285.1);
  --secondary-foreground: oklch(0.187 0.007 284.897);
  --accent: oklch(0.73 0.021 285.1);
  --accent-foreground: oklch(0.187 0.007 284.897);
  --destructive: oklch(0.345 0.091 44.686);
  --destructive-foreground: oklch(0.848 0.076 49.606);
  --ring: oklch(0.768 0.02 106.074);
  --chart-1: oklch(0.768 0.02 106.074);
  --chart-2: oklch(0.73 0.021 285.1);
  --chart-3: oklch(0.73 0.021 285.1);
  --chart-4: oklch(0.757 0.019 285.17);
  --chart-5: oklch(0.774 0.027 106.215);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.102 0.012 107.65);
  --foreground: oklch(0.981 0.004 105.685);
  --muted: oklch(0.205 0.012 284.533);
  --muted-foreground: oklch(0.783 0.016 285.234);
  --popover: oklch(0.102 0.012 107.65);
  --popover-foreground: oklch(0.981 0.004 105.685);
  --card: oklch(0.102 0.012 107.65);
  --card-foreground: oklch(0.981 0.004 105.685);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.768 0.02 106.074);
  --primary-foreground: oklch(0.2 0.007 106.226);
  --secondary: oklch(0.73 0.021 285.1);
  --secondary-foreground: oklch(0.187 0.007 284.897);
  --accent: oklch(0.73 0.021 285.1);
  --accent-foreground: oklch(0.187 0.007 284.897);
  --destructive: oklch(0.637 0.182 42.825);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.768 0.02 106.074);
  --chart-1: oklch(0.768 0.02 106.074);
  --chart-2: oklch(0.73 0.021 285.1);
  --chart-3: oklch(0.73 0.021 285.1);
  --chart-4: oklch(0.757 0.019 285.17);
  --chart-5: oklch(0.774 0.027 106.215);
}