Common Menthol for shadcn/ui

Common Menthol is a shadcn/ui theme built around a vivid light green primary color (#bbf49a) with vivid light pink accents (#f49abb). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the vivid light green primary (#bbf49a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#000000black
Foreground
#000000black
#fafbf9snow
Card
#f6fbf4whitesmoke
#030303black
Card foreground
#000000black
#fcfdfcwhite
Popover
#f6fbf4whitesmoke
#030303black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#bbf49apalegreen
#bbf49apalegreen
Primary foreground
#245309darkgreen
#245309darkgreen
Secondary
#9abbf4lightskyblue
#9abbf4lightskyblue
Secondary foreground
#092453midnightblue
#092453midnightblue
Muted
#d9e0edgainsboro
#121926black
Muted foreground
#595d64dimgray
#9b9fa6darkgray
Accent
#f49abblightpink
#f49abblightpink
Accent foreground
#530924maroon
#530924maroon
Destructive
#c7400ffirebrick
#da4610chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaede8linen
#3c4c33darkslategray
Input
#eaede8linen
#303b29darkslategray
Ring
#bbf49apalegreen
#bbf49apalegreen

Contrast

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

Light mode
Text on background20.32:1AAA
Text on card19.99:1AAA
Primary button7.12:1AAA
Secondary button7.76:1AAA
Muted text4.99:1AA
Accent7.10:1AAA
Destructive5.02:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.28:1AAA
Primary button7.12:1AAA
Secondary button7.76:1AAA
Muted text6.60:1AA
Accent7.10:1AAA
Destructive4.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 133.647);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.906 0.019 261.496);
  --muted-foreground: oklch(0.477 0.013 261.486);
  --popover: oklch(0.982 0.01 133.668);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.01 133.668);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.943 0.009 133.662);
  --input: oklch(0.943 0.009 133.662);
  --primary: oklch(0.907 0.131 134.663);
  --primary-foreground: oklch(0.393 0.112 137.208);
  --secondary: oklch(0.788 0.089 261.157);
  --secondary-foreground: oklch(0.272 0.091 260.587);
  --accent: oklch(0.786 0.114 356.495);
  --accent-foreground: oklch(0.292 0.105 5.532);
  --destructive: oklch(0.561 0.179 37.24);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.907 0.131 134.663);
  --chart-1: oklch(0.907 0.131 134.663);
  --chart-2: oklch(0.788 0.089 261.157);
  --chart-3: oklch(0.786 0.114 356.495);
  --chart-4: oklch(0.817 0.076 261.251);
  --chart-5: oklch(0.91 0.135 134.706);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.004 133.629);
  --muted: oklch(0.214 0.027 261.094);
  --muted-foreground: oklch(0.702 0.011 261.503);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.002 133.617);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.002 133.617);
  --border: oklch(0.394 0.044 134.378);
  --input: oklch(0.336 0.033 134.502);
  --primary: oklch(0.907 0.131 134.663);
  --primary-foreground: oklch(0.393 0.112 137.208);
  --secondary: oklch(0.788 0.089 261.157);
  --secondary-foreground: oklch(0.272 0.091 260.587);
  --accent: oklch(0.786 0.114 356.495);
  --accent-foreground: oklch(0.292 0.105 5.532);
  --destructive: oklch(0.6 0.193 37.128);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.907 0.131 134.663);
  --chart-1: oklch(0.907 0.131 134.663);
  --chart-2: oklch(0.788 0.089 261.157);
  --chart-3: oklch(0.786 0.114 356.495);
  --chart-4: oklch(0.817 0.076 261.251);
  --chart-5: oklch(0.91 0.135 134.706);
}