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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 4.84:1 | AA |
| Secondary button | 9.85:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 3.76:1 | AA Large |
| Destructive | 4.87:1 | AA |
| Text on background | 18.40:1 | AAA |
| Text on card | 18.40:1 | AAA |
| Primary button | 10.38:1 | AAA |
| Secondary button | 5.03:1 | AA |
| Muted text | 8.77:1 | AAA |
| Accent | 5.36:1 | AA |
| Destructive | 4.15:1 | AA Large |
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);
}