Coming Reduced Green for shadcn/ui

Coming Reduced Green is a shadcn/ui theme built around a muted light green primary color (#e7e9d8) with neutral gray accents (#d8d8d4). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#e7e9d8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#131504black
#fdfdfcwhite
Card
#ffffffwhite
#000000black
Card foreground
#131504black
#fdfdfcwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#131504black
#fdfdfcwhite
Primary
#e7e9d8gainsboro
#e7e9d8gainsboro
Primary foreground
#191a0eblack
#191a0eblack
Secondary
#d8d8d4lightgrey
#35362bdarkslategray
Secondary foreground
#40403adarkslategray
#cecfc4lightgrey
Muted
#e5e7dagainsboro
#232518black
Muted foreground
#5a5b52dimgray
#acada4darkgray
Accent
#d8d8d4lightgrey
#35362bdarkslategray
Accent foreground
#40403adarkslategray
#cecfc4lightgrey
Destructive
#a7420csaddlebrown
#f06e28chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#eaeae6linen
#21211cblack
Input
#eaeae6linen
#21211cblack
Ring
#e7e9d8gainsboro
#e7e9d8gainsboro

Contrast

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

Light mode
Text on background18.47:1AAA
Text on card18.47:1AAA
Primary button14.29:1AAA
Secondary button7.31:1AAA
Muted text5.48:1AA
Accent7.31:1AAA
Destructive6.13:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button14.29:1AAA
Secondary button7.81:1AAA
Muted text6.87:1AA
Accent7.81:1AAA
Destructive6.98:1AA

CSS variables

Paste this into your globals.css to use Coming Reduced Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.189 0.032 113.858);
  --muted: oklch(0.922 0.016 111.346);
  --muted-foreground: oklch(0.468 0.014 111.559);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.189 0.032 113.858);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.189 0.032 113.858);
  --border: oklch(0.936 0.006 111.124);
  --input: oklch(0.936 0.006 111.124);
  --primary: oklch(0.929 0.024 111.488);
  --primary-foreground: oklch(0.214 0.022 112.9);
  --secondary: oklch(0.881 0.006 111.132);
  --secondary-foreground: oklch(0.37 0.01 111.53);
  --accent: oklch(0.881 0.006 111.132);
  --accent-foreground: oklch(0.37 0.01 111.53);
  --destructive: oklch(0.51 0.145 42.862);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.929 0.024 111.488);
  --chart-1: oklch(0.929 0.024 111.488);
  --chart-2: oklch(0.881 0.006 111.132);
  --chart-3: oklch(0.881 0.006 111.132);
  --chart-4: oklch(0.904 0.004 111.107);
  --chart-5: oklch(0.931 0.026 111.535);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.002 111.058);
  --muted: oklch(0.258 0.022 112.576);
  --muted-foreground: oklch(0.743 0.012 111.322);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.002 111.058);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.994 0.002 111.058);
  --border: oklch(0.247 0.01 111.779);
  --input: oklch(0.247 0.01 111.779);
  --primary: oklch(0.929 0.024 111.488);
  --primary-foreground: oklch(0.214 0.022 112.9);
  --secondary: oklch(0.327 0.018 112.043);
  --secondary-foreground: oklch(0.851 0.016 111.366);
  --accent: oklch(0.327 0.018 112.043);
  --accent-foreground: oklch(0.851 0.016 111.366);
  --destructive: oklch(0.686 0.178 44.851);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.929 0.024 111.488);
  --chart-1: oklch(0.929 0.024 111.488);
  --chart-2: oklch(0.327 0.018 112.043);
  --chart-3: oklch(0.327 0.018 112.043);
  --chart-4: oklch(0.36 0.021 112.072);
  --chart-5: oklch(0.931 0.026 111.535);
}