Light Opale Otter for shadcn/ui

Light Opale Otter is a shadcn/ui theme built around a light teal primary color (#c2eaeb) with light yellow accents (#eaebc2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#c2eaeb) on a teal-tinted background (#060e0e).

Color palette

TokenLightDark
Background
#ffffffwhite
#060e0eblack
Foreground
#000000black
#f9fbfbghostwhite
Card
#fcfcfcsnow
#071212black
Card foreground
#000000black
#fcfdfdwhite
Popover
#fcfcfcsnow
#071212black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#c2eaebpaleturquoise
#c2eaebpaleturquoise
Primary foreground
#1f5b5cdarkslategray
#1f5b5cdarkslategray
Secondary
#ebc2eathistle
#ebc2eathistle
Secondary foreground
#5c1f5bindigo
#5c1f5bindigo
Muted
#f3f1f3whitesmoke
#0e0c0eblack
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#eaebc2bisque
#eaebc2bisque
Accent foreground
#0f0f05black
#0f0f05black
Destructive
#6c1b04maroon
#f6400eorangered
Destructive foreground
#fcb9a6lightpink
#ffffffwhite
Border
#eaebeblavender
#202222black
Input
#eaebeblavender
#202222black
Ring
#c2eaebpaleturquoise
#c2eaebpaleturquoise

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button5.99:1AA
Secondary button7.43:1AAA
Muted text5.96:1AA
Accent15.68:1AAA
Destructive7.03:1AAA
Dark mode
Text on background18.74:1AAA
Text on card18.65:1AAA
Primary button5.99:1AA
Secondary button7.43:1AAA
Muted text7.73:1AAA
Accent15.68:1AAA
Destructive3.70:1AA Large

CSS variables

Paste this into your globals.css to use Light Opale Otter in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.961 0.003 326.079);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.939 0.001 198.348);
  --input: oklch(0.939 0.001 198.348);
  --primary: oklch(0.909 0.042 197.713);
  --primary-foreground: oklch(0.433 0.061 196.728);
  --secondary: oklch(0.861 0.07 326.688);
  --secondary-foreground: oklch(0.357 0.12 328.397);
  --accent: oklch(0.928 0.053 108.183);
  --accent-foreground: oklch(0.166 0.021 109.266);
  --destructive: oklch(0.355 0.119 35.216);
  --destructive-foreground: oklch(0.843 0.082 36.046);
  --ring: oklch(0.909 0.042 197.713);
  --chart-1: oklch(0.909 0.042 197.713);
  --chart-2: oklch(0.861 0.07 326.688);
  --chart-3: oklch(0.928 0.053 108.183);
  --chart-4: oklch(0.887 0.057 326.555);
  --chart-5: oklch(0.911 0.044 197.681);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.014 197.107);
  --foreground: oklch(0.986 0.002 198.328);
  --muted: oklch(0.157 0.005 326.294);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0.172 0.016 197.126);
  --popover-foreground: oklch(0.993 0.001 198.345);
  --card: oklch(0.172 0.016 197.126);
  --card-foreground: oklch(0.993 0.001 198.345);
  --border: oklch(0.25 0.002 198.246);
  --input: oklch(0.25 0.002 198.246);
  --primary: oklch(0.909 0.042 197.713);
  --primary-foreground: oklch(0.433 0.061 196.728);
  --secondary: oklch(0.861 0.07 326.688);
  --secondary-foreground: oklch(0.357 0.12 328.397);
  --accent: oklch(0.928 0.053 108.183);
  --accent-foreground: oklch(0.166 0.021 109.266);
  --destructive: oklch(0.641 0.224 34.175);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.909 0.042 197.713);
  --chart-1: oklch(0.909 0.042 197.713);
  --chart-2: oklch(0.861 0.07 326.688);
  --chart-3: oklch(0.928 0.053 108.183);
  --chart-4: oklch(0.887 0.057 326.555);
  --chart-5: oklch(0.911 0.044 197.681);
}