Prosperity is a shadcn/ui theme built around a vivid light green primary color (#a6f7c1) with muted light green accents (#c1d2c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#a6f7c1) on a green-tinted background (#051008).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #051008black |
| Foreground | #05150ablack | #f8fbf9mintcream |
| Card | #ffffffwhite | #051008black |
| Card foreground | #05150ablack | #f8fbf9mintcream |
| Popover | #ffffffwhite | #051008black |
| Popover foreground | #05150ablack | #f8fbf9mintcream |
| Primary | #a6f7c1palegreen | #a6f7c1palegreen |
| Primary foreground | #000502black | #000502black |
| Secondary | #d2dad5lightgrey | #272b28darkslategray |
| Secondary foreground | #37433bdarkslategray | #bfc5c1silver |
| Muted | #eef7f1whitesmoke | #08110bblack |
| Muted foreground | #444645darkslategray | #b9bbbasilver |
| Accent | #c1d2c7silver | #304035darkslategray |
| Accent foreground | #29382edarkslategray | #cbd8cflightgrey |
| Destructive | #95250fbrown | #ec593ctomato |
| Destructive foreground | #fbdfdamistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6f7c1palegreen | #a6f7c1palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 16.35:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 8.68:1 | AAA |
| Accent | 7.82:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 18.64:1 | AAA |
| Text on card | 18.64:1 | AAA |
| Primary button | 16.35:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 9.91:1 | AAA |
| Accent | 7.46:1 | AAA |
| Destructive | 6.06:1 | AA |
Paste this into your globals.css to use Prosperity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.176 0.032 154.117);
--muted: oklch(0.967 0.013 156.998);
--muted-foreground: oklch(0.391 0.002 157.141);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.176 0.032 154.117);
--card: oklch(1 0 180);
--card-foreground: oklch(0.176 0.032 154.117);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.91 0.109 154.498);
--primary-foreground: oklch(0.1 0.021 156.761);
--secondary: oklch(0.881 0.011 156.998);
--secondary-foreground: oklch(0.37 0.021 156.047);
--accent: oklch(0.848 0.024 156.671);
--accent-foreground: oklch(0.324 0.027 155.404);
--destructive: oklch(0.443 0.151 32.939);
--destructive-foreground: oklch(0.926 0.032 31.145);
--ring: oklch(0.91 0.109 154.498);
--chart-1: oklch(0.91 0.109 154.498);
--chart-2: oklch(0.881 0.011 156.998);
--chart-3: oklch(0.848 0.024 156.671);
--chart-4: oklch(0.904 0.009 157.055);
--chart-5: oklch(0.913 0.113 154.4);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.023 155.743);
--foreground: oklch(0.986 0.004 157.182);
--muted: oklch(0.167 0.019 154.968);
--muted-foreground: oklch(0.79 0.002 157.214);
--popover: oklch(0.157 0.023 155.743);
--popover-foreground: oklch(0.986 0.004 157.182);
--card: oklch(0.157 0.023 155.743);
--card-foreground: oklch(0.986 0.004 157.182);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.91 0.109 154.498);
--primary-foreground: oklch(0.1 0.021 156.761);
--secondary: oklch(0.283 0.008 156.709);
--secondary-foreground: oklch(0.817 0.009 157.045);
--accent: oklch(0.354 0.027 155.586);
--accent-foreground: oklch(0.869 0.018 156.835);
--destructive: oklch(0.654 0.187 33.189);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.91 0.109 154.498);
--chart-1: oklch(0.91 0.109 154.498);
--chart-2: oklch(0.283 0.008 156.709);
--chart-3: oklch(0.354 0.027 155.586);
--chart-4: oklch(0.315 0.009 156.686);
--chart-5: oklch(0.913 0.113 154.4);
}