Diverse Montego Bay for shadcn/ui

Diverse Montego Bay is a shadcn/ui theme built around a teal primary color (#32bbbd) with red accents (#bd3532). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#32bbbd) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#ffffffwhite
#030707black
Foreground
#020d0dblack
#f5fafamintcream
Card
#ffffffwhite
#030707black
Card foreground
#020d0dblack
#f5fafamintcream
Popover
#ffffffwhite
#030707black
Popover foreground
#020d0dblack
#f5fafamintcream
Primary
#32bbbdlightseagreen
#32bbbdlightseagreen
Primary foreground
#071c1cblack
#071c1cblack
Secondary
#bd3532firebrick
#bd3532firebrick
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e9ddddgainsboro
#221616black
Muted foreground
#524c4cdarkslategray
#b3adaddarkgray
Accent
#bd3532firebrick
#bd3532firebrick
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#941d0adarkred
#e02b10orangered
Destructive foreground
#fcd9d4mistyrose
#ffffffwhite
Border
#e9ececlavender
#1c2121black
Input
#e9ececlavender
#1c2121black
Ring
#32bbbdlightseagreen
#32bbbdlightseagreen

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button7.54:1AAA
Secondary button5.64:1AA
Muted text6.35:1AA
Accent5.64:1AA
Destructive6.58:1AA
Dark mode
Text on background19.23:1AAA
Text on card19.23:1AAA
Primary button7.54:1AAA
Secondary button5.64:1AA
Muted text7.93:1AAA
Accent5.64:1AA
Destructive4.63:1AA

CSS variables

Paste this into your globals.css to use Diverse Montego Bay in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.019 196.429);
  --muted: oklch(0.907 0.013 18.578);
  --muted-foreground: oklch(0.423 0.008 18.667);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.019 196.429);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.146 0.019 196.429);
  --border: oklch(0.941 0.003 198.307);
  --input: oklch(0.941 0.003 198.307);
  --primary: oklch(0.724 0.112 196.683);
  --primary-foreground: oklch(0.209 0.026 196.813);
  --secondary: oklch(0.535 0.174 26.084);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.535 0.174 26.084);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.434 0.157 31.539);
  --destructive-foreground: oklch(0.914 0.039 28.213);
  --ring: oklch(0.724 0.112 196.683);
  --chart-1: oklch(0.724 0.112 196.683);
  --chart-2: oklch(0.535 0.174 26.084);
  --chart-3: oklch(0.535 0.174 26.084);
  --chart-4: oklch(0.56 0.183 26.137);
  --chart-5: oklch(0.733 0.115 196.685);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.009 197.173);
  --foreground: oklch(0.981 0.006 198.272);
  --muted: oklch(0.217 0.019 19.844);
  --muted-foreground: oklch(0.752 0.007 18.507);
  --popover: oklch(0.121 0.009 197.173);
  --popover-foreground: oklch(0.981 0.006 198.272);
  --card: oklch(0.121 0.009 197.173);
  --card-foreground: oklch(0.981 0.006 198.272);
  --border: oklch(0.243 0.007 197.939);
  --input: oklch(0.243 0.007 197.939);
  --primary: oklch(0.724 0.112 196.683);
  --primary-foreground: oklch(0.209 0.026 196.813);
  --secondary: oklch(0.535 0.174 26.084);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.535 0.174 26.084);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.587 0.218 31.393);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.724 0.112 196.683);
  --chart-1: oklch(0.724 0.112 196.683);
  --chart-2: oklch(0.535 0.174 26.084);
  --chart-3: oklch(0.535 0.174 26.084);
  --chart-4: oklch(0.56 0.183 26.137);
  --chart-5: oklch(0.733 0.115 196.685);
}