Outstanding for shadcn/ui

Outstanding is a shadcn/ui theme built around a vivid green primary color (#71f750) with vivid purple accents (#d550f7). The light mode uses a neutral background (#f8fdf6). Dark mode keeps the vivid green primary (#71f750) on a green-tinted background (#071005).

Color palette

TokenLightDark
Background
#f8fdf6mintcream
#071005black
Foreground
#000000black
#fafaf9snow
Card
#f4fcf2honeydew
#091406black
Card foreground
#000000black
#fcfdfcwhite
Popover
#f8fdf6mintcream
#071005black
Popover foreground
#000000black
#fafaf9snow
Primary
#71f750yellowgreen
#71f750yellowgreen
Primary foreground
#051301black
#051301black
Secondary
#d550f7mediumorchid
#d550f7mediumorchid
Secondary foreground
#100113black
#100113black
Muted
#e8e2e9lavender
#1c161dblack
Muted foreground
#5f5c60dimgray
#a29fa3darkgray
Accent
#d550f7mediumorchid
#d550f7mediumorchid
Accent foreground
#100113black
#100113black
Destructive
#ad3a01saddlebrown
#fe6d25tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#71f750yellowgreen
#71f750yellowgreen

Contrast

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

Light mode
Text on background20.41:1AAA
Text on card20.12:1AAA
Primary button13.71:1AAA
Secondary button6.09:1AA
Muted text5.16:1AA
Accent6.09:1AA
Destructive6.22:1AA
Dark mode
Text on background18.55:1AAA
Text on card18.52:1AAA
Primary button13.71:1AAA
Secondary button6.09:1AA
Muted text6.80:1AA
Accent6.09:1AA
Destructive7.43:1AAA

CSS variables

Paste this into your globals.css to use Outstanding in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.011 139.441);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.919 0.012 319.448);
  --muted-foreground: oklch(0.481 0.007 319.448);
  --popover: oklch(0.989 0.011 139.441);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.016 139.44);
  --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.868 0.236 139.976);
  --primary-foreground: oklch(0.168 0.048 137.446);
  --secondary: oklch(0.675 0.253 318.888);
  --secondary-foreground: oklch(0.128 0.054 320.944);
  --accent: oklch(0.675 0.253 318.888);
  --accent-foreground: oklch(0.128 0.054 320.944);
  --destructive: oklch(0.508 0.159 39.942);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.868 0.236 139.976);
  --chart-1: oklch(0.868 0.236 139.976);
  --chart-2: oklch(0.675 0.253 318.888);
  --chart-3: oklch(0.675 0.253 318.888);
  --chart-4: oklch(0.696 0.237 319.082);
  --chart-5: oklch(0.874 0.241 140.023);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.029 138.221);
  --foreground: oklch(0.985 0.002 139.444);
  --muted: oklch(0.21 0.018 319.464);
  --muted-foreground: oklch(0.705 0.006 319.447);
  --popover: oklch(0.159 0.029 138.221);
  --popover-foreground: oklch(0.985 0.002 139.444);
  --card: oklch(0.174 0.033 138.72);
  --card-foreground: oklch(0.993 0.001 139.444);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.868 0.236 139.976);
  --primary-foreground: oklch(0.168 0.048 137.446);
  --secondary: oklch(0.675 0.253 318.888);
  --secondary-foreground: oklch(0.128 0.054 320.944);
  --accent: oklch(0.675 0.253 318.888);
  --accent-foreground: oklch(0.128 0.054 320.944);
  --destructive: oklch(0.705 0.193 42.932);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.868 0.236 139.976);
  --chart-1: oklch(0.868 0.236 139.976);
  --chart-2: oklch(0.675 0.253 318.888);
  --chart-3: oklch(0.675 0.253 318.888);
  --chart-4: oklch(0.696 0.237 319.082);
  --chart-5: oklch(0.874 0.241 140.023);
}