Anybody is a shadcn/ui theme built around a light green primary color (#c8f4c9) with muted light green accents (#c5d8c6). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the light green primary (#c8f4c9) on a green-tinted background (#050a05).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #050a05black |
| Foreground | #061307black | #fcfdfcwhite |
| Card | #f8fcf8mintcream | #050a05black |
| Card foreground | #061307black | #fcfdfcwhite |
| Popover | #f8fcf8mintcream | #050a05black |
| Popover foreground | #061307black | #fcfdfcwhite |
| Primary | #c8f4c9lightgrey | #c8f4c9lightgrey |
| Primary foreground | #061e07black | #061e07black |
| Secondary | #c5d8c6lightgrey | #121712black |
| Secondary foreground | #2b402cdarkslategray | #a2b9a3darkgray |
| Muted | #daecdagainsboro | #132513black |
| Muted foreground | #4b534bdarkslategray | #acb4acdarkgray |
| Accent | #c5d8c6lightgrey | #121712black |
| Accent foreground | #2b402cdarkslategray | #a2b9a3darkgray |
| Destructive | #8f1004darkred | #f94939tomato |
| Destructive foreground | #fdcdc9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c8f4c9lightgrey | #c8f4c9lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.35:1 | AAA |
| Text on card | 18.35:1 | AAA |
| Primary button | 14.38:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 6.44:1 | AA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 14.38:1 | AAA |
| Secondary button | 8.63:1 | AAA |
| Muted text | 7.56:1 | AAA |
| Accent | 8.63:1 | AAA |
| Destructive | 3.47:1 | AA Large |
Paste this into your globals.css to use Anybody in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.007 146.482);
--foreground: oklch(0.171 0.033 144.849);
--muted: oklch(0.925 0.031 146.245);
--muted-foreground: oklch(0.433 0.016 146.214);
--popover: oklch(0.987 0.007 146.482);
--popover-foreground: oklch(0.171 0.033 144.849);
--card: oklch(0.987 0.007 146.482);
--card-foreground: oklch(0.171 0.033 144.849);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.924 0.073 145.828);
--primary-foreground: oklch(0.208 0.052 144.088);
--secondary: oklch(0.863 0.033 146.203);
--secondary-foreground: oklch(0.348 0.045 145.337);
--accent: oklch(0.863 0.033 146.203);
--accent-foreground: oklch(0.348 0.045 145.337);
--destructive: oklch(0.416 0.161 30.258);
--destructive-foreground: oklch(0.889 0.055 24.297);
--ring: oklch(0.924 0.073 145.828);
--chart-1: oklch(0.924 0.073 145.828);
--chart-2: oklch(0.863 0.033 146.203);
--chart-3: oklch(0.863 0.033 146.203);
--chart-4: oklch(0.885 0.028 146.266);
--chart-5: oklch(0.926 0.076 145.796);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.017 145.602);
--foreground: oklch(0.993 0.003 146.515);
--muted: oklch(0.244 0.041 144.902);
--muted-foreground: oklch(0.761 0.014 146.381);
--popover: oklch(0.137 0.017 145.602);
--popover-foreground: oklch(0.993 0.003 146.515);
--card: oklch(0.137 0.017 145.602);
--card-foreground: oklch(0.993 0.003 146.515);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.924 0.073 145.828);
--primary-foreground: oklch(0.208 0.052 144.088);
--secondary: oklch(0.198 0.014 145.903);
--secondary-foreground: oklch(0.762 0.04 146.072);
--accent: oklch(0.198 0.014 145.903);
--accent-foreground: oklch(0.762 0.04 146.072);
--destructive: oklch(0.657 0.215 29.313);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.924 0.073 145.828);
--chart-1: oklch(0.924 0.073 145.828);
--chart-2: oklch(0.198 0.014 145.903);
--chart-3: oklch(0.198 0.014 145.903);
--chart-4: oklch(0.233 0.018 145.824);
--chart-5: oklch(0.926 0.076 145.796);
}