03 for shadcn/ui

03 is a shadcn/ui theme built around a vivid teal primary color (#18b49a) with muted light teal accents (#cfe3df). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#18b49a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefdwhite
#000000black
Foreground
#041512black
#ffffffwhite
Card
#f7fdfcmintcream
#030303black
Card foreground
#03110fblack
#ffffffwhite
Popover
#f7fdfcmintcream
#030303black
Popover foreground
#03110fblack
#ffffffwhite
Primary
#18b49alightseagreen
#18b49alightseagreen
Primary foreground
#000000black
#000000black
Secondary
#e1eae8gainsboro
#303131darkslategray
Secondary foreground
#405955darkslategray
#c9cacalightgrey
Muted
#d9deddgainsboro
#212625darkslategray
Muted foreground
#3d4241darkslategray
#bdc2c1silver
Accent
#cfe3dfgainsboro
#394644darkslategray
Accent foreground
#2f504bdarkslategray
#d5dddbgainsboro
Destructive
#71220amaroon
#ee643atomato
Destructive foreground
#f8c4b4lightpink
#000000black
Border
#e1e5e4gainsboro
#1a1e1eblack
Input
#e1e5e4gainsboro
#1a1e1eblack
Ring
#18b49alightseagreen
#18b49alightseagreen

Contrast

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

Light mode
Text on background18.44:1AAA
Text on card18.67:1AAA
Primary button7.99:1AAA
Secondary button6.15:1AA
Muted text7.50:1AAA
Accent6.61:1AA
Destructive7.02:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.99:1AAA
Secondary button7.95:1AAA
Muted text8.48:1AAA
Accent7.10:1AAA
Destructive6.51:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 185.371);
  --foreground: oklch(0.181 0.025 181.809);
  --muted: oklch(0.896 0.006 185.288);
  --muted-foreground: oklch(0.375 0.007 184.962);
  --popover: oklch(0.989 0.006 185.292);
  --popover-foreground: oklch(0.163 0.022 182.744);
  --card: oklch(0.989 0.006 185.292);
  --card-foreground: oklch(0.163 0.022 182.744);
  --border: oklch(0.919 0.005 185.309);
  --input: oklch(0.919 0.005 185.309);
  --primary: oklch(0.689 0.124 177.102);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.929 0.009 185.198);
  --secondary-foreground: oklch(0.442 0.03 183.527);
  --accent: oklch(0.899 0.022 184.812);
  --accent-foreground: oklch(0.405 0.04 182.502);
  --destructive: oklch(0.372 0.116 36.308);
  --destructive-foreground: oklch(0.863 0.064 37.594);
  --ring: oklch(0.689 0.124 177.102);
  --chart-1: oklch(0.689 0.124 177.102);
  --chart-2: oklch(0.929 0.009 185.198);
  --chart-3: oklch(0.899 0.022 184.812);
  --chart-4: oklch(0.951 0.006 185.278);
  --chart-5: oklch(0.697 0.126 176.812);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.264 0.007 184.708);
  --muted-foreground: oklch(0.809 0.006 185.263);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.231 0.007 184.664);
  --input: oklch(0.231 0.007 184.664);
  --primary: oklch(0.689 0.124 177.102);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.312 0.001 185.332);
  --secondary-foreground: oklch(0.838 0.001 185.411);
  --accent: oklch(0.383 0.017 184.258);
  --accent-foreground: oklch(0.89 0.008 185.201);
  --destructive: oklch(0.67 0.18 37.261);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.689 0.124 177.102);
  --chart-1: oklch(0.689 0.124 177.102);
  --chart-2: oklch(0.312 0.001 185.332);
  --chart-3: oklch(0.383 0.017 184.258);
  --chart-4: oklch(0.342 0.002 185.329);
  --chart-5: oklch(0.697 0.126 176.812);
}