Adequate Mermaid Harbor for shadcn/ui

Adequate Mermaid Harbor is a shadcn/ui theme built around a deep teal primary color (#117870) with muted light teal accents (#cad8d7). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep teal primary (#117870) on a teal-tinted background (#04100f).

Color palette

TokenLightDark
Background
#fbfefewhite
#04100fblack
Foreground
#020807black
#ffffffwhite
Card
#fbfefewhite
#04100fblack
Card foreground
#020807black
#ffffffwhite
Popover
#fbfefewhite
#04100fblack
Popover foreground
#020807black
#ffffffwhite
Primary
#117870teal
#117870teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cad8d7lightgrey
#191a1ablack
Secondary foreground
#30413fdarkslategray
#b2b3b3darkgray
Muted
#d7eae9gainsboro
#152827black
Muted foreground
#586564dimgray
#9aa7a6darkgray
Accent
#cad8d7lightgrey
#191a1ablack
Accent foreground
#30413fdarkslategray
#b2b3b3darkgray
Destructive
#a4140afirebrick
#de1b0dred
Destructive foreground
#fde4e2mistyrose
#ffffffwhite
Border
#e6eaealavender
#1a1e1eblack
Input
#e6eaealavender
#1a1e1eblack
Ring
#117870teal
#117870teal

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button5.29:1AA
Secondary button7.32:1AAA
Muted text4.86:1AA
Accent7.32:1AAA
Destructive6.48:1AA
Dark mode
Text on background19.33:1AAA
Text on card19.33:1AAA
Primary button5.29:1AA
Secondary button8.31:1AAA
Muted text6.17:1AA
Accent8.31:1AAA
Destructive4.93:1AA

CSS variables

Paste this into your globals.css to use Adequate Mermaid Harbor in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 191.19);
  --foreground: oklch(0.125 0.013 190.391);
  --muted: oklch(0.923 0.021 190.754);
  --muted-foreground: oklch(0.495 0.016 190.526);
  --popover: oklch(0.994 0.003 191.19);
  --popover-foreground: oklch(0.125 0.013 190.391);
  --card: oklch(0.994 0.003 191.19);
  --card-foreground: oklch(0.125 0.013 190.391);
  --border: oklch(0.934 0.004 191.157);
  --input: oklch(0.934 0.004 191.157);
  --primary: oklch(0.519 0.087 185.901);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.871 0.015 190.874);
  --secondary-foreground: oklch(0.358 0.022 189.889);
  --accent: oklch(0.871 0.015 190.874);
  --accent-foreground: oklch(0.358 0.022 189.889);
  --destructive: oklch(0.459 0.177 29.725);
  --destructive-foreground: oklch(0.939 0.028 22.571);
  --ring: oklch(0.519 0.087 185.901);
  --chart-1: oklch(0.519 0.087 185.901);
  --chart-2: oklch(0.871 0.015 190.874);
  --chart-3: oklch(0.871 0.015 190.874);
  --chart-4: oklch(0.893 0.012 190.945);
  --chart-5: oklch(0.525 0.089 185.738);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.018 189.204);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.261 0.026 188.936);
  --muted-foreground: oklch(0.718 0.015 190.792);
  --popover: oklch(0.161 0.018 189.204);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.161 0.018 189.204);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.232 0.007 190.612);
  --input: oklch(0.232 0.007 190.612);
  --primary: oklch(0.519 0.087 185.901);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.216 0.001 191.17);
  --secondary-foreground: oklch(0.766 0.002 191.2);
  --accent: oklch(0.216 0.001 191.17);
  --accent-foreground: oklch(0.766 0.002 191.2);
  --destructive: oklch(0.573 0.224 29.753);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.519 0.087 185.901);
  --chart-1: oklch(0.519 0.087 185.901);
  --chart-2: oklch(0.216 0.001 191.17);
  --chart-3: oklch(0.216 0.001 191.17);
  --chart-4: oklch(0.249 0.001 191.162);
  --chart-5: oklch(0.525 0.089 185.738);
}