Murky for shadcn/ui

Murky is a shadcn/ui theme built around a vivid teal primary color (#0fcfd2) with vivid yellow accents (#cfd20f). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#0fcfd2) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#fbfefewhite
#050a0ablack
Foreground
#000000black
#ffffffwhite
Card
#f8fcfcmintcream
#070e0eblack
Card foreground
#000000black
#ffffffwhite
Popover
#f8fcfcmintcream
#070e0eblack
Popover foreground
#000000black
#ffffffwhite
Primary
#0fcfd2darkturquoise
#0fcfd2darkturquoise
Primary foreground
#011313black
#011313black
Secondary
#d20fcfdarkviolet
#d20fcfdarkviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ece9eclavender
#161316black
Muted foreground
#656165dimgray
#9e9a9ddarkgray
Accent
#cfd20fgoldenrod
#cfd20fgoldenrod
Accent foreground
#131301black
#131301black
Destructive
#842e06saddlebrown
#f66623chocolate
Destructive foreground
#fcd3bfpeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0fcfd2darkturquoise
#0fcfd2darkturquoise

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.32:1AAA
Primary button9.81:1AAA
Secondary button4.47:1AA Large
Muted text5.05:1AA
Accent11.45:1AAA
Destructive6.41:1AA
Dark mode
Text on background19.89:1AAA
Text on card19.52:1AAA
Primary button9.81:1AAA
Secondary button4.47:1AA Large
Muted text6.64:1AA
Accent11.45:1AAA
Destructive6.81:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 198.325);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.937 0.006 326.101);
  --muted-foreground: oklch(0.499 0.008 326.18);
  --popover: oklch(0.988 0.005 198.288);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.005 198.288);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.774 0.13 196.838);
  --primary-foreground: oklch(0.17 0.026 196.297);
  --secondary: oklch(0.607 0.272 329.172);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.833 0.181 110.886);
  --accent-foreground: oklch(0.181 0.036 110.269);
  --destructive: oklch(0.423 0.127 40.38);
  --destructive-foreground: oklch(0.896 0.054 46.273);
  --ring: oklch(0.774 0.13 196.838);
  --chart-1: oklch(0.774 0.13 196.838);
  --chart-2: oklch(0.607 0.272 329.172);
  --chart-3: oklch(0.833 0.181 110.886);
  --chart-4: oklch(0.637 0.287 329.177);
  --chart-5: oklch(0.783 0.132 196.866);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.01 197.147);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0.008 326.394);
  --muted-foreground: oklch(0.689 0.007 326.139);
  --popover: oklch(0.155 0.012 197.279);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.012 197.279);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.774 0.13 196.838);
  --primary-foreground: oklch(0.17 0.026 196.297);
  --secondary: oklch(0.607 0.272 329.172);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.833 0.181 110.886);
  --accent-foreground: oklch(0.181 0.036 110.269);
  --destructive: oklch(0.682 0.192 41.635);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.774 0.13 196.838);
  --chart-1: oklch(0.774 0.13 196.838);
  --chart-2: oklch(0.607 0.272 329.172);
  --chart-3: oklch(0.833 0.181 110.886);
  --chart-4: oklch(0.637 0.287 329.177);
  --chart-5: oklch(0.783 0.132 196.866);
}