Comprehensive Celestial Green for shadcn/ui

Comprehensive Celestial Green is a shadcn/ui theme built around a vivid teal primary color (#0be0bc) with muted light teal accents (#bbc9c6). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the vivid teal primary (#0be0bc) on a teal-tinted background (#050b0a).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#050b0ablack
Foreground
#04100eblack
#ffffffwhite
Card
#f4fbfamintcream
#060e0dblack
Card foreground
#030c0bblack
#ffffffwhite
Popover
#f8fcfbmintcream
#050b0ablack
Popover foreground
#04100eblack
#ffffffwhite
Primary
#0be0bcdarkturquoise
#0be0bcdarkturquoise
Primary foreground
#011d19black
#011d19black
Secondary
#d5d7d7lightgrey
#111817black
Secondary foreground
#3b3f3edarkslategray
#9ebdb8darkgray
Muted
#e2e4e4gainsboro
#1b1d1dblack
Muted foreground
#5b6765dimgray
#98a4a2darkgray
Accent
#bbc9c6silver
#213b36darkslategray
Accent foreground
#242d2cdarkslategray
#b7d7d1lightblue
Destructive
#c65010chocolate
#f07f42coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e9edeclavender
#202726darkslategray
Input
#e9edeclavender
#202726darkslategray
Ring
#0be0bcdarkturquoise
#0be0bcdarkturquoise

Contrast

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

Light mode
Text on background18.71:1AAA
Text on card18.83:1AAA
Primary button10.41:1AAA
Secondary button7.41:1AAA
Muted text4.61:1AA
Accent8.23:1AAA
Destructive4.61:1AA
Dark mode
Text on background19.86:1AAA
Text on card19.47:1AAA
Primary button10.41:1AAA
Secondary button8.92:1AAA
Muted text6.56:1AA
Accent7.84:1AAA
Destructive7.80:1AAA

CSS variables

Paste this into your globals.css to use Comprehensive Celestial Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 185.321);
  --foreground: oklch(0.161 0.019 183.053);
  --muted: oklch(0.918 0.003 185.361);
  --muted-foreground: oklch(0.502 0.015 184.677);
  --popover: oklch(0.988 0.005 185.321);
  --popover-foreground: oklch(0.161 0.019 183.053);
  --card: oklch(0.982 0.007 185.256);
  --card-foreground: oklch(0.144 0.017 184.452);
  --border: oklch(0.942 0.004 185.326);
  --input: oklch(0.942 0.004 185.326);
  --primary: oklch(0.81 0.151 175.55);
  --primary-foreground: oklch(0.209 0.036 180.131);
  --secondary: oklch(0.878 0.003 185.368);
  --secondary-foreground: oklch(0.364 0.005 185.085);
  --accent: oklch(0.823 0.015 184.968);
  --accent-foreground: oklch(0.289 0.013 184.26);
  --destructive: oklch(0.579 0.165 42.867);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.151 175.55);
  --chart-1: oklch(0.81 0.151 175.55);
  --chart-2: oklch(0.878 0.003 185.368);
  --chart-3: oklch(0.823 0.015 184.968);
  --chart-4: oklch(0.902 0.002 185.385);
  --chart-5: oklch(0.82 0.154 175.276);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.012 185.072);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.23 0.004 184.954);
  --muted-foreground: oklch(0.709 0.013 184.947);
  --popover: oklch(0.14 0.012 185.072);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.156 0.014 183.671);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.266 0.01 184.401);
  --input: oklch(0.266 0.01 184.401);
  --primary: oklch(0.81 0.151 175.55);
  --primary-foreground: oklch(0.209 0.036 180.131);
  --secondary: oklch(0.202 0.012 183.834);
  --secondary-foreground: oklch(0.774 0.034 184.248);
  --accent: oklch(0.329 0.033 182.485);
  --accent-foreground: oklch(0.854 0.034 184.373);
  --destructive: oklch(0.713 0.157 46.831);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.81 0.151 175.55);
  --chart-1: oklch(0.81 0.151 175.55);
  --chart-2: oklch(0.202 0.012 183.834);
  --chart-3: oklch(0.329 0.033 182.485);
  --chart-4: oklch(0.238 0.015 183.642);
  --chart-5: oklch(0.82 0.154 175.276);
}