Boost Mystic Green for shadcn/ui

Boost Mystic Green is a shadcn/ui theme built around a vivid green primary color (#e2ff76) with vivid green accents (#a6df02). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#a6de03) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#e2ff76khaki
#a6de03chartreuse
Primary foreground
#000a05black
#000a05black
Secondary
#e2e9e6gainsboro
#1f2824darkslategray
Secondary foreground
#41584ddarkslategray
#b5c5bdsilver
Muted
#f0f5f2whitesmoke
#0a0f0dblack
Muted foreground
#4f645adimgray
#9bb0a6darkgray
Accent
#a6df02chartreuse
#1f2824darkslategray
Accent foreground
#fdfef0ivory
#b5c5bdsilver
Destructive
#6a2e0csaddlebrown
#e8712cchocolate
Destructive foreground
#f6cab1peachpuff
#000000black
Border
#e8edeblavender
#1e2521black
Input
#e8edeblavender
#1e2521black
Ring
#c6f523greenyellow
#5a7902olive

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 button17.97:1AAA
Secondary button6.25:1AA
Muted text5.76:1AA
Accent1.56:1Fail
Destructive6.98:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button12.50:1AAA
Secondary button8.41:1AAA
Muted text8.40:1AAA
Accent8.41:1AAA
Destructive6.79:1AA

CSS variables

Paste this into your globals.css to use Boost Mystic Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.965 0.007 165.833);
  --muted-foreground: oklch(0.482 0.031 164.186);
  --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.942 0.006 165.858);
  --input: oklch(0.942 0.006 165.858);
  --primary: oklch(0.952 0.165 119.605);
  --primary-foreground: oklch(0.129 0.026 166.3);
  --secondary: oklch(0.928 0.01 165.74);
  --secondary-foreground: oklch(0.438 0.033 163.779);
  --accent: oklch(0.833 0.212 126.049);
  --accent-foreground: oklch(0.992 0.018 110.045);
  --destructive: oklch(0.378 0.096 46.281);
  --destructive-foreground: oklch(0.872 0.061 51.696);
  --ring: oklch(0.905 0.215 122.868);
  --chart-1: oklch(0.831 0.211 125.874);
  --chart-2: oklch(0.94 0.001 286.374);
  --chart-3: oklch(0.928 0.01 165.74);
  --chart-4: oklch(0.95 0.007 165.829);
  --chart-5: oklch(0.952 0.165 119.605);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.164 0.01 164.241);
  --muted-foreground: oklch(0.739 0.028 164.966);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.255 0.012 164.653);
  --input: oklch(0.255 0.012 164.653);
  --primary: oklch(0.831 0.211 125.874);
  --primary-foreground: oklch(0.129 0.026 166.3);
  --secondary: oklch(0.267 0.014 164.497);
  --secondary-foreground: oklch(0.808 0.02 165.325);
  --accent: oklch(0.267 0.014 164.497);
  --accent-foreground: oklch(0.808 0.02 165.325);
  --destructive: oklch(0.678 0.167 46.774);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.532 0.134 125.268);
  --chart-1: oklch(0.831 0.211 125.874);
  --chart-2: oklch(0.267 0.014 164.497);
  --chart-3: oklch(0.267 0.014 164.497);
  --chart-4: oklch(0.3 0.017 164.417);
  --chart-5: oklch(0.831 0.211 125.874);
}