Shrub Green Antelope for shadcn/ui

Shrub Green Antelope is a shadcn/ui theme built around a vivid deep teal primary color (#023536) with near-white accents (#e9ecec). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the vivid deep teal primary (#023536) on a teal-tinted background (#060f0f).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#060f0fblack
Foreground
#061314black
#fbfdfdwhite
Card
#f3fbfbmintcream
#071213black
Card foreground
#050f10black
#ffffffwhite
Popover
#f7fcfdghostwhite
#060f0fblack
Popover foreground
#061314black
#fbfdfdwhite
Primary
#023536darkslategray
#023536darkslategray
Primary foreground
#0df0f8aqua
#0df0f8aqua
Secondary
#e9ececlavender
#292929darkslategray
Secondary foreground
#4c5757darkslategray
#c2c2c2silver
Muted
#e6eaealavender
#191515black
Muted foreground
#475c5cdarkslategray
#b8a3a3darkgray
Accent
#e9ececlavender
#292929darkslategray
Accent foreground
#4c5757darkslategray
#c2c2c2silver
Destructive
#6c2a09saddlebrown
#d35312chocolate
Destructive foreground
#f8c8afpeachpuff
#ffffffwhite
Border
#dde4e4gainsboro
#222a2adarkslategray
Input
#dde4e4gainsboro
#222a2adarkslategray
Ring
#023536darkslategray
#023536darkslategray

Contrast

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

Light mode
Text on background18.32:1AAA
Text on card18.51:1AAA
Primary button9.51:1AAA
Secondary button6.29:1AA
Muted text5.87:1AA
Accent6.29:1AA
Destructive7.02:1AAA
Dark mode
Text on background19.04:1AAA
Text on card18.98:1AAA
Primary button9.51:1AAA
Secondary button8.18:1AAA
Muted text7.60:1AAA
Accent8.18:1AAA
Destructive4.19:1AA Large

CSS variables

Paste this into your globals.css to use Shrub Green Antelope in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 199.528);
  --foreground: oklch(0.175 0.019 198.308);
  --muted: oklch(0.934 0.005 199.536);
  --muted-foreground: oklch(0.456 0.025 198.928);
  --popover: oklch(0.989 0.006 199.528);
  --popover-foreground: oklch(0.175 0.019 198.308);
  --card: oklch(0.983 0.008 199.489);
  --card-foreground: oklch(0.159 0.017 198.176);
  --border: oklch(0.913 0.007 199.501);
  --input: oklch(0.913 0.007 199.501);
  --primary: oklch(0.298 0.05 198.506);
  --primary-foreground: oklch(0.867 0.146 199.052);
  --secondary: oklch(0.941 0.003 199.562);
  --secondary-foreground: oklch(0.447 0.014 199.2);
  --accent: oklch(0.941 0.003 199.562);
  --accent-foreground: oklch(0.447 0.014 199.2);
  --destructive: oklch(0.376 0.103 42.991);
  --destructive-foreground: oklch(0.868 0.065 47.957);
  --ring: oklch(0.298 0.05 198.506);
  --chart-1: oklch(0.298 0.05 198.506);
  --chart-2: oklch(0.941 0.003 199.562);
  --chart-3: oklch(0.941 0.003 199.562);
  --chart-4: oklch(0.963 0.002 199.579);
  --chart-5: oklch(0.3 0.051 198.521);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.015 198.336);
  --foreground: oklch(0.994 0.002 199.578);
  --muted: oklch(0.2 0.007 17.794);
  --muted-foreground: oklch(0.733 0.025 17.733);
  --popover: oklch(0.157 0.015 198.336);
  --popover-foreground: oklch(0.994 0.002 199.578);
  --card: oklch(0.172 0.017 198.447);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.011 199.082);
  --input: oklch(0.278 0.011 199.082);
  --primary: oklch(0.298 0.05 198.506);
  --primary-foreground: oklch(0.867 0.146 199.052);
  --secondary: oklch(0.28 0 180);
  --secondary-foreground: oklch(0.813 0 165.964);
  --accent: oklch(0.28 0 180);
  --accent-foreground: oklch(0.813 0 165.964);
  --destructive: oklch(0.603 0.176 41.701);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.298 0.05 198.506);
  --chart-1: oklch(0.298 0.05 198.506);
  --chart-2: oklch(0.28 0 180);
  --chart-3: oklch(0.28 0 180);
  --chart-4: oklch(0.311 0 180);
  --chart-5: oklch(0.3 0.051 198.521);
}