That for shadcn/ui

That is a shadcn/ui theme built around a teal primary color (#37d78d) with teal accents (#37d2d7). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the teal primary (#37d78d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#000000black
Foreground
#030c08black
#f5faf8mintcream
Card
#f8fcfamintcream
#030303black
Card foreground
#020805black
#f8fcfamintcream
Popover
#f8fcfamintcream
#030303black
Popover foreground
#020805black
#f8fcfamintcream
Primary
#37d78dmediumseagreen
#37d78dmediumseagreen
Primary foreground
#0b3723darkgreen
#0b3723darkgreen
Secondary
#37d73climegreen
#37d73climegreen
Secondary foreground
#0b370cdarkgreen
#0b370cdarkgreen
Muted
#d1ead2gainsboro
#152e15black
Muted foreground
#3b453bdarkslategray
#bac4basilver
Accent
#37d2d7turquoise
#37d2d7turquoise
Accent foreground
#0b3637darkslategray
#0b3637darkslategray
Destructive
#6a1b01maroon
#fd5f2btomato
Destructive foreground
#feb79flightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#37d78dmediumseagreen
#37d78dmediumseagreen

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.51:1AAA
Primary button7.13:1AAA
Secondary button7.01:1AAA
Muted text7.84:1AAA
Accent7.12:1AAA
Destructive7.04:1AAA
Dark mode
Text on background19.91:1AAA
Text on card19.98:1AAA
Primary button7.13:1AAA
Secondary button7.01:1AAA
Muted text8.18:1AAA
Accent7.12:1AAA
Destructive6.85:1AA

CSS variables

Paste this into your globals.css to use That in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 166.839);
  --foreground: oklch(0.143 0.021 166.61);
  --muted: oklch(0.913 0.042 146.13);
  --muted-foreground: oklch(0.377 0.021 146.036);
  --popover: oklch(0.987 0.005 166.77);
  --popover-foreground: oklch(0.125 0.018 167.132);
  --card: oklch(0.987 0.005 166.77);
  --card-foreground: oklch(0.125 0.018 167.132);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.782 0.169 157.593);
  --primary-foreground: oklch(0.302 0.061 158.687);
  --secondary: oklch(0.771 0.233 143.266);
  --secondary-foreground: oklch(0.298 0.085 143.519);
  --accent: oklch(0.79 0.123 198.488);
  --accent-foreground: oklch(0.305 0.045 198.41);
  --destructive: oklch(0.351 0.116 36.931);
  --destructive-foreground: oklch(0.84 0.09 39.212);
  --ring: oklch(0.782 0.169 157.593);
  --chart-1: oklch(0.782 0.169 157.593);
  --chart-2: oklch(0.771 0.233 143.266);
  --chart-3: oklch(0.79 0.123 198.488);
  --chart-4: oklch(0.781 0.224 143.484);
  --chart-5: oklch(0.79 0.174 157.212);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.006 166.735);
  --muted: oklch(0.272 0.054 144.591);
  --muted-foreground: oklch(0.811 0.018 146.35);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.987 0.004 166.794);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.004 166.794);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.782 0.169 157.593);
  --primary-foreground: oklch(0.302 0.061 158.687);
  --secondary: oklch(0.771 0.233 143.266);
  --secondary-foreground: oklch(0.298 0.085 143.519);
  --accent: oklch(0.79 0.123 198.488);
  --accent-foreground: oklch(0.305 0.045 198.41);
  --destructive: oklch(0.686 0.202 37.632);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.782 0.169 157.593);
  --chart-1: oklch(0.782 0.169 157.593);
  --chart-2: oklch(0.771 0.233 143.266);
  --chart-3: oklch(0.79 0.123 198.488);
  --chart-4: oklch(0.781 0.224 143.484);
  --chart-5: oklch(0.79 0.174 157.212);
}