Pale Light Green Chinchilla for shadcn/ui

Pale Light Green Chinchilla is a shadcn/ui theme built around a vivid green primary color (#a9f288) with vivid green accents (#88f29b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#a9f288) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#ffffffwhite
#020401black
Foreground
#000000black
#f7f9f6whitesmoke
Card
#ffffffwhite
#020401black
Card foreground
#000000black
#f7f9f6whitesmoke
Popover
#ffffffwhite
#020401black
Popover foreground
#000000black
#f7f9f6whitesmoke
Primary
#a9f288palegreen
#a9f288palegreen
Primary foreground
#194007darkgreen
#194007darkgreen
Secondary
#def288khaki
#def288khaki
Secondary foreground
#364007darkgreen
#364007darkgreen
Muted
#e3e6d6gainsboro
#262919black
Muted foreground
#6e725adimgray
#a1a58ddarkseagreen
Accent
#88f29blightgreen
#88f29blightgreen
Accent foreground
#074012darkgreen
#074012darkgreen
Destructive
#6b170amaroon
#eb4228orangered
Destructive foreground
#f8b9b0lightpink
#ffffffwhite
Border
#e5e8e3gainsboro
#20241eblack
Input
#e5e8e3gainsboro
#20241eblack
Ring
#a9f288palegreen
#a9f288palegreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.84:1AAA
Secondary button9.05:1AAA
Muted text3.92:1AA Large
Accent8.67:1AAA
Destructive7.15:1AAA
Dark mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button8.84:1AAA
Secondary button9.05:1AAA
Muted text5.82:1AA
Accent8.67:1AAA
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use Pale Light Green Chinchilla in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.919 0.022 115.272);
  --muted-foreground: oklch(0.542 0.037 116.089);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.927 0.008 135.464);
  --input: oklch(0.927 0.008 135.464);
  --primary: oklch(0.889 0.156 136.416);
  --primary-foreground: oklch(0.331 0.094 138.047);
  --secondary: oklch(0.923 0.133 117.606);
  --secondary-foreground: oklch(0.351 0.078 119.99);
  --accent: oklch(0.875 0.155 148.423);
  --accent-foreground: oklch(0.326 0.094 145.527);
  --destructive: oklch(0.35 0.12 31.658);
  --destructive-foreground: oklch(0.841 0.074 28.64);
  --ring: oklch(0.889 0.156 136.416);
  --chart-1: oklch(0.889 0.156 136.416);
  --chart-2: oklch(0.923 0.133 117.606);
  --chart-3: oklch(0.875 0.155 148.423);
  --chart-4: oklch(0.931 0.119 117.26);
  --chart-5: oklch(0.892 0.161 136.46);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.017 133.763);
  --foreground: oklch(0.979 0.005 135.448);
  --muted: oklch(0.274 0.029 116.812);
  --muted-foreground: oklch(0.712 0.035 115.728);
  --popover: oklch(0.099 0.017 133.763);
  --popover-foreground: oklch(0.979 0.005 135.448);
  --card: oklch(0.099 0.017 133.763);
  --card-foreground: oklch(0.979 0.005 135.448);
  --border: oklch(0.255 0.014 135.67);
  --input: oklch(0.255 0.014 135.67);
  --primary: oklch(0.889 0.156 136.416);
  --primary-foreground: oklch(0.331 0.094 138.047);
  --secondary: oklch(0.923 0.133 117.606);
  --secondary-foreground: oklch(0.351 0.078 119.99);
  --accent: oklch(0.875 0.155 148.423);
  --accent-foreground: oklch(0.326 0.094 145.527);
  --destructive: oklch(0.626 0.209 31.655);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.889 0.156 136.416);
  --chart-1: oklch(0.889 0.156 136.416);
  --chart-2: oklch(0.923 0.133 117.606);
  --chart-3: oklch(0.875 0.155 148.423);
  --chart-4: oklch(0.931 0.119 117.26);
  --chart-5: oklch(0.892 0.161 136.46);
}