Tropical Tide Mole for shadcn/ui

Tropical Tide Mole is a shadcn/ui theme built around a teal primary color (#4bceb1) with neutral gray accents (#d6dbda). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#4bceb1) on a teal-tinted background (#060e0d).

Color palette

TokenLightDark
Background
#ffffffwhite
#060e0dblack
Foreground
#031612black
#f6f9f8whitesmoke
Card
#fcfcfcsnow
#071210black
Card foreground
#02120fblack
#f9fbfbghostwhite
Popover
#ffffffwhite
#060e0dblack
Popover foreground
#031612black
#f6f9f8whitesmoke
Primary
#4bceb1mediumturquoise
#4bceb1mediumturquoise
Primary foreground
#103c33darkslategray
#103c33darkslategray
Secondary
#d6dbdagainsboro
#1e201fblack
Secondary foreground
#3b4442darkslategray
#b5bab9silver
Muted
#dfece9lavender
#13201dblack
Muted foreground
#546d68dimgray
#92aba5darkgray
Accent
#d6dbdagainsboro
#1e201fblack
Accent foreground
#3b4442darkslategray
#b5bab9silver
Destructive
#8f1c05darkred
#f74d2btomato
Destructive foreground
#fdd2c9peachpuff
#ffffffwhite
Border
#edf2f1whitesmoke
#1a2321black
Input
#edf2f1whitesmoke
#1a2321black
Ring
#4bceb1mediumturquoise
#4bceb1mediumturquoise

Contrast

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

Light mode
Text on background18.62:1AAA
Text on card18.74:1AAA
Primary button6.25:1AA
Secondary button7.19:1AAA
Muted text4.60:1AA
Accent7.19:1AAA
Destructive6.53:1AA
Dark mode
Text on background18.37:1AAA
Text on card18.31:1AAA
Primary button6.25:1AA
Secondary button8.37:1AAA
Muted text6.84:1AA
Accent8.37:1AAA
Destructive3.45:1AA Large

CSS variables

Paste this into your globals.css to use Tropical Tide Mole in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.184 0.029 177.703);
  --muted: oklch(0.933 0.015 181.611);
  --muted-foreground: oklch(0.515 0.031 180.283);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.184 0.029 177.703);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.166 0.025 178.909);
  --border: oklch(0.957 0.005 181.92);
  --input: oklch(0.957 0.005 181.92);
  --primary: oklch(0.771 0.121 175.788);
  --primary-foreground: oklch(0.323 0.05 175.884);
  --secondary: oklch(0.888 0.006 181.879);
  --secondary-foreground: oklch(0.379 0.012 181.151);
  --accent: oklch(0.888 0.006 181.879);
  --accent-foreground: oklch(0.379 0.012 181.151);
  --destructive: oklch(0.423 0.153 32.593);
  --destructive-foreground: oklch(0.897 0.051 31.261);
  --ring: oklch(0.771 0.121 175.788);
  --chart-1: oklch(0.771 0.121 175.788);
  --chart-2: oklch(0.888 0.006 181.879);
  --chart-3: oklch(0.888 0.006 181.879);
  --chart-4: oklch(0.911 0.005 181.921);
  --chart-5: oklch(0.779 0.126 175.478);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.015 180.18);
  --foreground: oklch(0.979 0.004 181.967);
  --muted: oklch(0.231 0.02 179.372);
  --muted-foreground: oklch(0.719 0.029 180.904);
  --popover: oklch(0.156 0.015 180.18);
  --popover-foreground: oklch(0.979 0.004 181.967);
  --card: oklch(0.171 0.017 179.245);
  --card-foreground: oklch(0.986 0.002 182.001);
  --border: oklch(0.247 0.014 180.446);
  --input: oklch(0.247 0.014 180.446);
  --primary: oklch(0.771 0.121 175.788);
  --primary-foreground: oklch(0.323 0.05 175.884);
  --secondary: oklch(0.239 0.003 181.734);
  --secondary-foreground: oklch(0.784 0.005 181.891);
  --accent: oklch(0.239 0.003 181.734);
  --accent-foreground: oklch(0.784 0.005 181.891);
  --destructive: oklch(0.657 0.212 33.142);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.771 0.121 175.788);
  --chart-1: oklch(0.771 0.121 175.788);
  --chart-2: oklch(0.239 0.003 181.734);
  --chart-3: oklch(0.239 0.003 181.734);
  --chart-4: oklch(0.272 0.003 181.712);
  --chart-5: oklch(0.779 0.126 175.478);
}