New Money for shadcn/ui

New Money is a shadcn/ui theme built around a muted teal primary color (#64a09f) with muted light teal accents (#d2e0df). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#64a09f) on a teal-tinted background (#041010).

Color palette

TokenLightDark
Background
#ffffffwhite
#041010black
Foreground
#041615black
#ffffffwhite
Card
#ffffffwhite
#041010black
Card foreground
#041615black
#ffffffwhite
Popover
#ffffffwhite
#041010black
Popover foreground
#041615black
#ffffffwhite
Primary
#64a09fcadetblue
#64a09fcadetblue
Primary foreground
#000000black
#000000black
Secondary
#d2e0dfgainsboro
#2b3636darkslategray
Secondary foreground
#344b4bdarkslategray
#c3d0d0lightgrey
Muted
#cde9e9gainsboro
#163231darkslategray
Muted foreground
#505e5ddimgray
#a1afafdarkgray
Accent
#d2e0dfgainsboro
#2b3636darkslategray
Accent foreground
#344b4bdarkslategray
#c3d0d0lightgrey
Destructive
#cd3513firebrick
#ea441forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#64a09fcadetblue
#64a09fcadetblue

Contrast

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

Light mode
Text on background18.57:1AAA
Text on card18.57:1AAA
Primary button7.07:1AAA
Secondary button6.84:1AA
Muted text5.30:1AA
Accent6.84:1AA
Destructive5.08:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.31:1AAA
Primary button7.07:1AAA
Secondary button7.85:1AAA
Muted text6.06:1AA
Accent7.85:1AAA
Destructive3.91:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.183 0.025 193.797);
  --muted: oklch(0.914 0.029 195.424);
  --muted-foreground: oklch(0.469 0.017 195.347);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.183 0.025 193.797);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.183 0.025 193.797);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.665 0.062 194.402);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.895 0.015 195.687);
  --secondary-foreground: oklch(0.395 0.028 194.766);
  --accent: oklch(0.895 0.015 195.687);
  --accent-foreground: oklch(0.395 0.028 194.766);
  --destructive: oklch(0.561 0.194 33.417);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.665 0.062 194.402);
  --chart-1: oklch(0.665 0.062 194.402);
  --chart-2: oklch(0.895 0.015 195.687);
  --chart-3: oklch(0.895 0.015 195.687);
  --chart-4: oklch(0.916 0.012 195.75);
  --chart-5: oklch(0.673 0.069 194.264);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.018 194.212);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.294 0.034 194.045);
  --muted-foreground: oklch(0.744 0.016 195.613);
  --popover: oklch(0.161 0.018 194.212);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.161 0.018 194.212);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.665 0.062 194.402);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.323 0.016 195.154);
  --secondary-foreground: oklch(0.847 0.014 195.688);
  --accent: oklch(0.323 0.016 195.154);
  --accent-foreground: oklch(0.847 0.014 195.688);
  --destructive: oklch(0.625 0.208 33.705);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.665 0.062 194.402);
  --chart-1: oklch(0.665 0.062 194.402);
  --chart-2: oklch(0.323 0.016 195.154);
  --chart-3: oklch(0.323 0.016 195.154);
  --chart-4: oklch(0.355 0.018 195.132);
  --chart-5: oklch(0.673 0.069 194.264);
}