Able Acid Lime for shadcn/ui

Able Acid Lime is a shadcn/ui theme built around a green primary color (#b6da25) with muted light green accents (#ccd1b8). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#b6da25) on a neutral background (#0d0d0d).

Color palette

TokenLightDark
Background
#ffffffwhite
#0d0d0dblack
Foreground
#040401black
#f2f2f2whitesmoke
Card
#ffffffwhite
#1a1a1ablack
Card foreground
#040401black
#f2f2f2whitesmoke
Popover
#ffffffwhite
#262626darkslategray
Popover foreground
#040401black
#f2f2f2whitesmoke
Primary
#b6da25yellowgreen
#b6da25yellowgreen
Primary foreground
#242c07black
#424d1bdarkolivegreen
Secondary
#d5d8calightgrey
#2a2a28darkslategray
Secondary foreground
#3d4130darkslategray
#c3c4c0silver
Muted
#f1f3e7linen
#15180cblack
Muted foreground
#5d5f53dimgray
#b3b3b3darkgray
Accent
#ccd1b8silver
#424d1bdarkolivegreen
Accent foreground
#313422darkslategray
#d9dbd1lightgrey
Destructive
#6b2e0asaddlebrown
#cc6766indianred
Destructive foreground
#f8cab0peachpuff
#272727darkslategray
Border
#ecede8linen
#666666dimgray
Input
#ecede8linen
#24251dblack
Ring
#b6da25yellowgreen
#b6da25yellowgreen

Contrast

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

Light mode
Text on background20.52:1AAA
Text on card20.52:1AAA
Primary button9.06:1AAA
Secondary button7.26:1AAA
Muted text5.80:1AA
Accent8.10:1AAA
Destructive6.96:1AA
Dark mode
Text on background17.36:1AAA
Text on card15.54:1AAA
Primary button5.64:1AA
Secondary button8.21:1AAA
Muted text8.57:1AAA
Accent6.49:1AA
Destructive4.05:1AA Large

CSS variables

Paste this into your globals.css to use Able Acid Lime in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.104 0.017 116.21);
  --muted: oklch(0.96 0.016 115.889);
  --muted-foreground: oklch(0.481 0.02 116.331);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.104 0.017 116.21);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.104 0.017 116.21);
  --border: oklch(0.945 0.007 115.717);
  --input: oklch(0.945 0.007 115.717);
  --primary: oklch(0.833 0.192 121.33);
  --primary-foreground: oklch(0.276 0.056 119.96);
  --secondary: oklch(0.876 0.019 115.972);
  --secondary-foreground: oklch(0.365 0.028 116.998);
  --accent: oklch(0.849 0.034 116.308);
  --accent-foreground: oklch(0.318 0.031 117.4);
  --destructive: oklch(0.38 0.099 45.82);
  --destructive-foreground: oklch(0.872 0.063 51.662);
  --ring: oklch(0.833 0.192 121.33);
  --chart-1: oklch(0.833 0.192 121.33);
  --chart-2: oklch(0.876 0.019 115.972);
  --chart-3: oklch(0.849 0.034 116.308);
  --chart-4: oklch(0.897 0.016 115.897);
  --chart-5: oklch(0.843 0.196 121.522);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0 180);
  --foreground: oklch(0.961 0 180);
  --muted: oklch(0.202 0.023 117.714);
  --muted-foreground: oklch(0.767 0 168.69);
  --popover: oklch(0.269 0 180);
  --popover-foreground: oklch(0.961 0 180);
  --card: oklch(0.218 0 180);
  --card-foreground: oklch(0.961 0 180);
  --border: oklch(0.51 0 171.87);
  --input: oklch(0.262 0.016 116.685);
  --primary: oklch(0.833 0.192 121.33);
  --primary-foreground: oklch(0.399 0.074 120.303);
  --secondary: oklch(0.284 0.004 115.866);
  --secondary-foreground: oklch(0.818 0.005 115.693);
  --accent: oklch(0.399 0.074 120.303);
  --accent-foreground: oklch(0.887 0.013 115.855);
  --destructive: oklch(0.632 0.129 21.967);
  --destructive-foreground: oklch(0.274 0 180);
  --ring: oklch(0.833 0.192 121.33);
  --chart-1: oklch(0.833 0.192 121.33);
  --chart-2: oklch(0.284 0.004 115.866);
  --chart-3: oklch(0.381 0.024 116.755);
  --chart-4: oklch(0.315 0.005 115.877);
  --chart-5: oklch(0.843 0.196 121.522);
}