Filthy Tropical Hideaway for shadcn/ui

Filthy Tropical Hideaway is a shadcn/ui theme built around a teal primary color (#2aa79d) with neutral gray accents (#dddfdf). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#2aa79d) on a teal-tinted background (#040b0a).

Color palette

TokenLightDark
Background
#fbfefewhite
#040b0ablack
Foreground
#021211black
#f9fbfamintcream
Card
#fbfefewhite
#040b0ablack
Card foreground
#021211black
#f9fbfamintcream
Popover
#fbfefewhite
#040b0ablack
Popover foreground
#021211black
#f9fbfamintcream
Primary
#2aa79dlightseagreen
#2aa79dlightseagreen
Primary foreground
#010404black
#010404black
Secondary
#dddfdfgainsboro
#283938darkslategray
Secondary foreground
#434747darkslategray
#c0d3d1lightgrey
Muted
#d9edeblavender
#122624black
Muted foreground
#3b4e4ddarkslategray
#b1c4c2silver
Accent
#dddfdfgainsboro
#283938darkslategray
Accent foreground
#434747darkslategray
#c0d3d1lightgrey
Destructive
#c74200chocolate
#ff5c0aorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e0e6e6gainsboro
#222b2adarkslategray
Input
#e0e6e6gainsboro
#222b2adarkslategray
Ring
#2aa79dlightseagreen
#2aa79dlightseagreen

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.84:1AAA
Primary button6.98:1AA
Secondary button7.02:1AAA
Muted text7.23:1AAA
Accent7.02:1AAA
Destructive4.98:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button6.98:1AA
Secondary button7.77:1AAA
Muted text8.69:1AAA
Accent7.77:1AAA
Destructive6.78:1AA

CSS variables

Paste this into your globals.css to use Filthy Tropical Hideaway in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 191.19);
  --foreground: oklch(0.166 0.024 188.654);
  --muted: oklch(0.93 0.021 190.757);
  --muted-foreground: oklch(0.409 0.024 189.928);
  --popover: oklch(0.994 0.003 191.19);
  --popover-foreground: oklch(0.166 0.024 188.654);
  --card: oklch(0.994 0.003 191.19);
  --card-foreground: oklch(0.166 0.024 188.654);
  --border: oklch(0.921 0.007 191.077);
  --input: oklch(0.921 0.007 191.077);
  --primary: oklch(0.661 0.106 186.534);
  --primary-foreground: oklch(0.1 0.012 190.32);
  --secondary: oklch(0.902 0.002 191.197);
  --secondary-foreground: oklch(0.394 0.005 190.945);
  --accent: oklch(0.902 0.002 191.197);
  --accent-foreground: oklch(0.394 0.005 190.945);
  --destructive: oklch(0.563 0.179 39.41);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.661 0.106 186.534);
  --chart-1: oklch(0.661 0.106 186.534);
  --chart-2: oklch(0.902 0.002 191.197);
  --chart-3: oklch(0.902 0.002 191.197);
  --chart-4: oklch(0.925 0.002 191.211);
  --chart-5: oklch(0.67 0.109 186.353);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.013 190.316);
  --foreground: oklch(0.986 0.002 191.216);
  --muted: oklch(0.251 0.026 188.812);
  --muted-foreground: oklch(0.805 0.021 190.671);
  --popover: oklch(0.141 0.013 190.316);
  --popover-foreground: oklch(0.986 0.002 191.216);
  --card: oklch(0.141 0.013 190.316);
  --card-foreground: oklch(0.986 0.002 191.216);
  --border: oklch(0.279 0.013 190.229);
  --input: oklch(0.279 0.013 190.229);
  --primary: oklch(0.661 0.106 186.534);
  --primary-foreground: oklch(0.1 0.012 190.32);
  --secondary: oklch(0.33 0.023 189.691);
  --secondary-foreground: oklch(0.852 0.021 190.711);
  --accent: oklch(0.33 0.023 189.691);
  --accent-foreground: oklch(0.852 0.021 190.711);
  --destructive: oklch(0.684 0.211 40);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.661 0.106 186.534);
  --chart-1: oklch(0.661 0.106 186.534);
  --chart-2: oklch(0.33 0.023 189.691);
  --chart-3: oklch(0.33 0.023 189.691);
  --chart-4: oklch(0.362 0.026 189.647);
  --chart-5: oklch(0.67 0.109 186.353);
}