Chubby Delta Green for shadcn/ui

Chubby Delta Green is a shadcn/ui theme built around a muted cyan primary color (#4b6063) with muted light cyan accents (#dae6e7). The light mode uses a neutral background (#ffffff). Dark mode switches to a muted deep cyan primary (#334f52) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#040f11black
#f9fafaghostwhite
Card
#ffffffwhite
#010304black
Card foreground
#040f11black
#f9fafaghostwhite
Popover
#ffffffwhite
#010304black
Popover foreground
#040f11black
#f9fafaghostwhite
Primary
#4b6063dimgray
#334f52darkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e1eaeblavender
#2b3031darkslategray
Secondary foreground
#2b393bdarkslategray
#c4c9casilver
Muted
#e7edeelavender
#111718black
Muted foreground
#3f4546darkslategray
#b9bfc0silver
Accent
#dae6e7gainsboro
#3c5053darkslategray
Accent foreground
#162122black
#dce4e5gainsboro
Destructive
#973402saddlebrown
#e84f02orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8edeelavender
#1c2526black
Input
#e8edeelavender
#1c2526black
Ring
#4b6063dimgray
#4b6063dimgray

Contrast

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

Light mode
Text on background19.41:1AAA
Text on card19.41:1AAA
Primary button6.66:1AA
Secondary button9.81:1AAA
Muted text8.26:1AAA
Accent12.91:1AAA
Destructive7.47:1AAA
Dark mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button8.83:1AAA
Secondary button7.99:1AAA
Muted text9.72:1AAA
Accent6.59:1AA
Destructive3.77:1AA Large

CSS variables

Paste this into your globals.css to use Chubby Delta Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.158 0.018 205.246);
  --muted: oklch(0.942 0.007 206.399);
  --muted-foreground: oklch(0.385 0.008 206.332);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.158 0.018 205.246);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.158 0.018 205.246);
  --border: oklch(0.942 0.006 206.403);
  --input: oklch(0.942 0.006 206.403);
  --primary: oklch(0.473 0.026 206.255);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.931 0.01 206.379);
  --secondary-foreground: oklch(0.333 0.018 206.255);
  --accent: oklch(0.916 0.013 206.363);
  --accent-foreground: oklch(0.237 0.015 206.262);
  --destructive: oklch(0.464 0.143 40.47);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.473 0.026 206.255);
  --chart-1: oklch(0.473 0.026 206.255);
  --chart-2: oklch(0.931 0.01 206.379);
  --chart-3: oklch(0.916 0.013 206.363);
  --chart-4: oklch(0.952 0.007 206.398);
  --chart-5: oklch(0.477 0.031 206.267);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.008 204.152);
  --foreground: oklch(0.985 0.001 206.434);
  --muted: oklch(0.199 0.009 206.258);
  --muted-foreground: oklch(0.801 0.007 206.392);
  --popover: oklch(0.096 0.008 204.152);
  --popover-foreground: oklch(0.985 0.001 206.434);
  --card: oklch(0.096 0.008 204.152);
  --card-foreground: oklch(0.985 0.001 206.434);
  --border: oklch(0.256 0.013 206.257);
  --input: oklch(0.256 0.013 206.257);
  --primary: oklch(0.406 0.034 206.329);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.305 0.007 206.323);
  --secondary-foreground: oklch(0.833 0.007 206.394);
  --accent: oklch(0.416 0.025 206.259);
  --accent-foreground: oklch(0.913 0.009 206.381);
  --destructive: oklch(0.632 0.201 39.283);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.473 0.026 206.255);
  --chart-1: oklch(0.406 0.034 206.329);
  --chart-2: oklch(0.305 0.007 206.323);
  --chart-3: oklch(0.416 0.025 206.259);
  --chart-4: oklch(0.336 0.008 206.32);
  --chart-5: oklch(0.41 0.037 206.384);
}