Well-informed for shadcn/ui

Well-informed is a shadcn/ui theme built around a vivid green primary color (#86f655) with vivid green accents (#55f676). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid green primary (#86f655) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfefbwhite
#000000black
Foreground
#000000black
#ffffffwhite
Card
#f9fdf7mintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfefbwhite
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#86f655greenyellow
#86f655greenyellow
Primary foreground
#081801black
#081801black
Secondary
#d6f655greenyellow
#d6f655greenyellow
Secondary foreground
#141801black
#141801black
Muted
#e3e5dcgainsboro
#21231ablack
Muted foreground
#51524cdarkslategray
#b2b3addarkgray
Accent
#55f676lightgreen
#55f676lightgreen
Accent foreground
#011806black
#011806black
Destructive
#c63410firebrick
#e23c12orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#86f655greenyellow
#86f655greenyellow

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.41:1AAA
Primary button13.43:1AAA
Secondary button14.80:1AAA
Muted text6.20:1AA
Accent13.08:1AAA
Destructive5.36:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button13.43:1AAA
Secondary button14.80:1AAA
Muted text7.51:1AAA
Accent13.08:1AAA
Destructive4.28:1AA Large

CSS variables

Paste this into your globals.css to use Well-informed in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.005 136.039);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.918 0.012 115.827);
  --muted-foreground: oklch(0.436 0.01 116.011);
  --popover: oklch(0.995 0.005 136.039);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.01 136.057);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.875 0.222 137.746);
  --primary-foreground: oklch(0.189 0.051 135.506);
  --secondary: oklch(0.921 0.185 119.902);
  --secondary-foreground: oklch(0.198 0.044 119.002);
  --accent: oklch(0.862 0.217 146.959);
  --accent-foreground: oklch(0.185 0.049 148.787);
  --destructive: oklch(0.547 0.188 34.019);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.875 0.222 137.746);
  --chart-1: oklch(0.875 0.222 137.746);
  --chart-2: oklch(0.921 0.185 119.902);
  --chart-3: oklch(0.862 0.217 146.959);
  --chart-4: oklch(0.926 0.174 119.47);
  --chart-5: oklch(0.881 0.227 137.824);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.252 0.017 116.812);
  --muted-foreground: oklch(0.764 0.009 115.794);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.875 0.222 137.746);
  --primary-foreground: oklch(0.189 0.051 135.506);
  --secondary: oklch(0.921 0.185 119.902);
  --secondary-foreground: oklch(0.198 0.044 119.002);
  --accent: oklch(0.862 0.217 146.959);
  --accent-foreground: oklch(0.185 0.049 148.787);
  --destructive: oklch(0.604 0.209 33.919);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.875 0.222 137.746);
  --chart-1: oklch(0.875 0.222 137.746);
  --chart-2: oklch(0.921 0.185 119.902);
  --chart-3: oklch(0.862 0.217 146.959);
  --chart-4: oklch(0.926 0.174 119.47);
  --chart-5: oklch(0.881 0.227 137.824);
}