Typical Fresh Lime for shadcn/ui

Typical Fresh Lime is a shadcn/ui theme built around a light green primary color (#d4f2ca) with light purple accents (#e8caf2). The light mode uses a neutral background (#f9fcf7). Dark mode keeps the light green primary (#d4f2ca) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fcf7mintcream
#000000black
Foreground
#081703black
#f6faf5whitesmoke
Card
#f5fbf4whitesmoke
#030303black
Card foreground
#061202black
#f9fbf8mintcream
Popover
#f9fcf7mintcream
#000000black
Popover foreground
#081703black
#f6faf5whitesmoke
Primary
#d4f2cagainsboro
#d4f2cagainsboro
Primary foreground
#0c1d07black
#0c1d07black
Secondary
#e8caf2lavender
#e8caf2lavender
Secondary foreground
#5a1c6eindigo
#5a1c6eindigo
Muted
#ddd7e0gainsboro
#261f28darkslategray
Muted foreground
#493c4edarkslategray
#bfb1c3silver
Accent
#e8caf2lavender
#e8caf2lavender
Accent foreground
#5a1c6eindigo
#5a1c6eindigo
Destructive
#b31509firebrick
#f44034tomato
Destructive foreground
#fef1f0seashell
#ffffffwhite
Border
#ecefebwhitesmoke
#1f241eblack
Input
#ecefebwhitesmoke
#1f241eblack
Ring
#d4f2cagainsboro
#d4f2cagainsboro

Contrast

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

Light mode
Text on background17.93:1AAA
Text on card18.28:1AAA
Primary button14.49:1AAA
Secondary button7.74:1AAA
Muted text7.29:1AAA
Accent7.74:1AAA
Destructive6.28:1AA
Dark mode
Text on background19.91:1AAA
Text on card19.87:1AAA
Primary button14.49:1AAA
Secondary button7.74:1AAA
Muted text7.83:1AAA
Accent7.74:1AAA
Destructive3.71:1AA Large

CSS variables

Paste this into your globals.css to use Typical Fresh Lime in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 137.776);
  --foreground: oklch(0.183 0.045 136.97);
  --muted: oklch(0.887 0.013 317.738);
  --muted-foreground: oklch(0.377 0.035 317.609);
  --popover: oklch(0.988 0.008 137.776);
  --popover-foreground: oklch(0.183 0.045 136.97);
  --card: oklch(0.982 0.012 137.783);
  --card-foreground: oklch(0.165 0.039 136.309);
  --border: oklch(0.949 0.006 137.773);
  --input: oklch(0.949 0.006 137.773);
  --primary: oklch(0.928 0.061 137.885);
  --primary-foreground: oklch(0.208 0.045 138.251);
  --secondary: oklch(0.876 0.063 317.645);
  --secondary-foreground: oklch(0.363 0.142 316.259);
  --accent: oklch(0.876 0.063 317.645);
  --accent-foreground: oklch(0.363 0.142 316.259);
  --destructive: oklch(0.489 0.191 29.746);
  --destructive-foreground: oklch(0.969 0.014 22.379);
  --ring: oklch(0.928 0.061 137.885);
  --chart-1: oklch(0.928 0.061 137.885);
  --chart-2: oklch(0.876 0.063 317.645);
  --chart-3: oklch(0.876 0.063 317.645);
  --chart-4: oklch(0.905 0.048 317.677);
  --chart-5: oklch(0.93 0.065 137.891);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.007 137.775);
  --muted: oklch(0.252 0.018 317.643);
  --muted-foreground: oklch(0.778 0.029 317.702);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.007 137.775);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.005 137.771);
  --border: oklch(0.255 0.014 137.863);
  --input: oklch(0.255 0.014 137.863);
  --primary: oklch(0.928 0.061 137.885);
  --primary-foreground: oklch(0.208 0.045 138.251);
  --secondary: oklch(0.876 0.063 317.645);
  --secondary-foreground: oklch(0.363 0.142 316.259);
  --accent: oklch(0.876 0.063 317.645);
  --accent-foreground: oklch(0.363 0.142 316.259);
  --destructive: oklch(0.641 0.218 28.853);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.928 0.061 137.885);
  --chart-1: oklch(0.928 0.061 137.885);
  --chart-2: oklch(0.876 0.063 317.645);
  --chart-3: oklch(0.876 0.063 317.645);
  --chart-4: oklch(0.905 0.048 317.677);
  --chart-5: oklch(0.93 0.065 137.891);
}