Concert for shadcn/ui

Concert is a shadcn/ui theme built around a green primary color (#67ac4d) with pink accents (#ac4d67). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#67ac4d) on a green-tinted background (#081005).

Color palette

TokenLightDark
Background
#ffffffwhite
#081005black
Foreground
#081703black
#fcfdfcwhite
Card
#fcfcfcsnow
#0a1406black
Card foreground
#061202black
#ffffffwhite
Popover
#ffffffwhite
#081005black
Popover foreground
#081703black
#fcfdfcwhite
Primary
#67ac4dolivedrab
#67ac4dolivedrab
Primary foreground
#13200eblack
#13200eblack
Secondary
#4d67acsteelblue
#4d67acsteelblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eff1f5whitesmoke
#0a0b10black
Muted foreground
#434651darkslategray
#aeb2bcdarkgray
Accent
#ac4d67indianred
#ac4d67indianred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7d130dmaroon
#e9392fcrimson
Destructive foreground
#f9c6c3pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#67ac4dolivedrab
#67ac4dolivedrab

Contrast

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

Light mode
Text on background18.51:1AAA
Text on card18.76:1AAA
Primary button6.13:1AA
Secondary button5.45:1AA
Muted text8.30:1AAA
Accent5.20:1AA
Destructive7.07:1AAA
Dark mode
Text on background19.00:1AAA
Text on card18.89:1AAA
Primary button6.13:1AA
Secondary button5.45:1AA
Muted text9.25:1AAA
Accent5.20:1AA
Destructive4.12:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.184 0.046 136.508);
  --muted: oklch(0.957 0.007 270.065);
  --muted-foreground: oklch(0.397 0.019 269.663);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.184 0.046 136.508);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.166 0.04 135.794);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.678 0.148 138.08);
  --primary-foreground: oklch(0.225 0.037 137.727);
  --secondary: oklch(0.526 0.114 267.355);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.55 0.127 5.442);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.381 0.141 28.942);
  --destructive-foreground: oklch(0.87 0.059 21.847);
  --ring: oklch(0.678 0.148 138.08);
  --chart-1: oklch(0.678 0.148 138.08);
  --chart-2: oklch(0.526 0.114 267.355);
  --chart-3: oklch(0.55 0.127 5.442);
  --chart-4: oklch(0.553 0.11 267.61);
  --chart-5: oklch(0.686 0.157 138.183);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.027 136.25);
  --foreground: oklch(0.994 0.003 137.195);
  --muted: oklch(0.151 0.01 269.388);
  --muted-foreground: oklch(0.763 0.016 269.937);
  --popover: oklch(0.159 0.027 136.25);
  --popover-foreground: oklch(0.994 0.003 137.195);
  --card: oklch(0.175 0.031 136.966);
  --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.678 0.148 138.08);
  --primary-foreground: oklch(0.225 0.037 137.727);
  --secondary: oklch(0.526 0.114 267.355);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.55 0.127 5.442);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.615 0.214 28.344);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.678 0.148 138.08);
  --chart-1: oklch(0.678 0.148 138.08);
  --chart-2: oklch(0.526 0.114 267.355);
  --chart-3: oklch(0.55 0.127 5.442);
  --chart-4: oklch(0.553 0.11 267.61);
  --chart-5: oklch(0.686 0.157 138.183);
}