Panicky Bright Yellow Greengren and purp for shadcn/ui

Panicky Bright Yellow Greengren and purp is a shadcn/ui theme built around a vivid pink primary color (#d71489) with vivid blue accents (#1489d7). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid green primary (#a1ff05) on a pink-tinted background (#0e070b).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e070bblack
Foreground
#040103black
#faf4f8whitesmoke
Card
#ffffffwhite
#0e070bblack
Card foreground
#040103black
#faf4f8whitesmoke
Popover
#ffffffwhite
#0e070bblack
Popover foreground
#040103black
#faf4f8whitesmoke
Primary
#d71489mediumvioletred
#a1ff05chartreuse
Primary foreground
#ffffffwhite
#382d41darkslategray
Secondary
#89d714yellowgreen
#ec00ffmagenta
Secondary foreground
#121c03black
#121c03black
Muted
#e5ebdbgainsboro
#1e2414black
Muted foreground
#474e3cdarkslategray
#bcc3b1silver
Accent
#1489d7dodgerblue
#9f00ffdarkviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c24b0fchocolate
#d55210chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f0eff0whitesmoke
#282527darkslategray
Input
#f0eff0whitesmoke
#282527darkslategray
Ring
#d71489mediumvioletred
#d71489mediumvioletred

Contrast

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

Light mode
Text on background20.77:1AAA
Text on card20.77:1AAA
Primary button4.84:1AA
Secondary button9.85:1AAA
Muted text7.11:1AAA
Accent3.76:1AA Large
Destructive4.87:1AA
Dark mode
Text on background18.40:1AAA
Text on card18.40:1AAA
Primary button10.38:1AAA
Secondary button5.03:1AA
Muted text8.77:1AAA
Accent5.36:1AA
Destructive4.15:1AA Large

CSS variables

Paste this into your globals.css to use Panicky Bright Yellow Greengren and purp in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.083 0.022 340.415);
  --muted: oklch(0.931 0.023 124.697);
  --muted-foreground: oklch(0.411 0.03 125.436);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.083 0.022 340.415);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.083 0.022 340.415);
  --border: oklch(0.954 0.002 340.272);
  --input: oklch(0.954 0.002 340.272);
  --primary: oklch(0.582 0.233 352.063);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.797 0.214 131.241);
  --secondary-foreground: oklch(0.209 0.048 127.507);
  --accent: oklch(0.609 0.15 245.851);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.566 0.166 41.514);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.582 0.233 352.063);
  --chart-1: oklch(0.582 0.233 352.063);
  --chart-2: oklch(0.797 0.214 131.241);
  --chart-3: oklch(0.609 0.15 245.851);
  --chart-4: oklch(0.835 0.225 131.284);
  --chart-5: oklch(0.587 0.237 352.519);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.016 341.642);
  --foreground: oklch(0.974 0.008 340.422);
  --muted: oklch(0.249 0.031 126.243);
  --muted-foreground: oklch(0.807 0.026 124.809);
  --popover: oklch(0.14 0.016 341.642);
  --popover-foreground: oklch(0.974 0.008 340.422);
  --card: oklch(0.14 0.016 341.642);
  --card-foreground: oklch(0.974 0.008 340.422);
  --border: oklch(0.267 0.006 340.704);
  --input: oklch(0.267 0.006 340.704);
  --primary: oklch(0.906 0.249 131.451);
  --primary-foreground: oklch(0.318 0.037 309.215);
  --secondary: oklch(0.673 0.316 324.107);
  --secondary-foreground: oklch(0.209 0.048 127.507);
  --accent: oklch(0.567 0.297 303.683);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.606 0.179 41.359);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.582 0.233 352.063);
  --chart-1: oklch(0.582 0.233 352.063);
  --chart-2: oklch(0.797 0.214 131.241);
  --chart-3: oklch(0.609 0.15 245.851);
  --chart-4: oklch(0.835 0.225 131.284);
  --chart-5: oklch(0.587 0.237 352.519);
}