Desirable Bath Water for shadcn/ui

Desirable Bath Water is a shadcn/ui theme built around a vivid teal primary color (#7feef0) with vivid yellow accents (#eef07f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#7feef0) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a0ablack
Foreground
#010404black
#ffffffwhite
Card
#fcfcfcsnow
#070d0dblack
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#070d0dblack
Popover foreground
#000000black
#ffffffwhite
Primary
#7feef0aquamarine
#7feef0aquamarine
Primary foreground
#063637darkslategray
#063637darkslategray
Secondary
#f07feeviolet
#f07feeviolet
Secondary foreground
#370636midnightblue
#370636midnightblue
Muted
#f5eff5whitesmoke
#100a0fblack
Muted foreground
#4a4a4adarkslategray
#b5b5b5silver
Accent
#eef07fkhaki
#eef07fkhaki
Accent foreground
#363706darkgreen
#363706darkgreen
Destructive
#d70f0fred
#f13737crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e8e9lavender
#191a1ablack
Input
#e8e8e9lavender
#191a1ablack
Ring
#7feef0aquamarine
#7feef0aquamarine

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button9.68:1AAA
Secondary button7.23:1AAA
Muted text7.85:1AAA
Accent10.20:1AAA
Destructive5.31:1AA
Dark mode
Text on background19.91:1AAA
Text on card19.55:1AAA
Primary button9.68:1AAA
Secondary button7.23:1AAA
Muted text9.55:1AAA
Accent10.20:1AAA
Destructive3.93:1AA Large

CSS variables

Paste this into your globals.css to use Desirable Bath Water in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.011 196.53);
  --muted: oklch(0.959 0.009 326.133);
  --muted-foreground: oklch(0.409 0 190.305);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.932 0.001 198.346);
  --input: oklch(0.932 0.001 198.346);
  --primary: oklch(0.885 0.102 196.918);
  --primary-foreground: oklch(0.304 0.048 196.669);
  --secondary: oklch(0.76 0.192 327.871);
  --secondary-foreground: oklch(0.243 0.098 328.813);
  --accent: oklch(0.931 0.136 109.624);
  --accent-foreground: oklch(0.325 0.066 110.535);
  --destructive: oklch(0.555 0.222 28.68);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.885 0.102 196.918);
  --chart-1: oklch(0.885 0.102 196.918);
  --chart-2: oklch(0.76 0.192 327.871);
  --chart-3: oklch(0.931 0.136 109.624);
  --chart-4: oklch(0.783 0.172 327.661);
  --chart-5: oklch(0.889 0.105 196.893);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.009 197.261);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.155 0.015 326.793);
  --muted-foreground: oklch(0.773 0 180);
  --popover: oklch(0.153 0.01 197.383);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.153 0.01 197.383);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.217 0.002 198.255);
  --input: oklch(0.217 0.002 198.255);
  --primary: oklch(0.885 0.102 196.918);
  --primary-foreground: oklch(0.304 0.048 196.669);
  --secondary: oklch(0.76 0.192 327.871);
  --secondary-foreground: oklch(0.243 0.098 328.813);
  --accent: oklch(0.931 0.136 109.624);
  --accent-foreground: oklch(0.325 0.066 110.535);
  --destructive: oklch(0.628 0.222 26.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.885 0.102 196.918);
  --chart-1: oklch(0.885 0.102 196.918);
  --chart-2: oklch(0.76 0.192 327.871);
  --chart-3: oklch(0.931 0.136 109.624);
  --chart-4: oklch(0.783 0.172 327.661);
  --chart-5: oklch(0.889 0.105 196.893);
}