Shallow Weird Green is a shadcn/ui theme built around a vivid green primary color (#3cec82) with vivid teal accents (#3cecda). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the vivid green primary (#3cec82) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #000000black |
| Foreground | #031109black | #fcfdfcwhite |
| Card | #f7fdf9mintcream | #000000black |
| Card foreground | #031109black | #fcfdfcwhite |
| Popover | #f7fdf9mintcream | #000000black |
| Popover foreground | #031109black | #fcfdfcwhite |
| Primary | #3cec82mediumseagreen | #3cec82mediumseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #4eec3climegreen | #4eec3climegreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #ebefebwhitesmoke | #101410black |
| Muted foreground | #50544fdarkslategray | #abb0abdarkgray |
| Accent | #3cecdaturquoise | #3cecdaturquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #95390esaddlebrown | #ec7036tomato |
| Destructive foreground | #fce4damistyrose | #000000black |
| Border | #e2e9e5gainsboro | #161d19black |
| Input | #e2e9e5gainsboro | #161d19black |
| Ring | #3cec82mediumseagreen | #3cec82mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 13.48:1 | AAA |
| Secondary button | 13.35:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 14.17:1 | AAA |
| Destructive | 6.00:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 13.48:1 | AAA |
| Secondary button | 13.35:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 14.17:1 | AAA |
| Destructive | 6.94:1 | AA |
Paste this into your globals.css to use Shallow Weird Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 160.074);
--foreground: oklch(0.161 0.028 158.13);
--muted: oklch(0.949 0.007 142.597);
--muted-foreground: oklch(0.44 0.01 142.537);
--popover: oklch(0.988 0.007 160.074);
--popover-foreground: oklch(0.161 0.028 158.13);
--card: oklch(0.988 0.007 160.074);
--card-foreground: oklch(0.161 0.028 158.13);
--border: oklch(0.927 0.009 160.014);
--input: oklch(0.927 0.009 160.014);
--primary: oklch(0.832 0.202 151.788);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.828 0.248 141.712);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.853 0.139 184.801);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.468 0.135 41.237);
--destructive-foreground: oklch(0.936 0.029 46.528);
--ring: oklch(0.832 0.202 151.788);
--chart-1: oklch(0.832 0.202 151.788);
--chart-2: oklch(0.828 0.248 141.712);
--chart-3: oklch(0.853 0.139 184.801);
--chart-4: oklch(0.836 0.237 141.682);
--chart-5: oklch(0.84 0.207 151.517);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 160.178);
--muted: oklch(0.185 0.01 142.395);
--muted-foreground: oklch(0.752 0.008 142.581);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 160.178);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 160.178);
--border: oklch(0.222 0.012 158.875);
--input: oklch(0.222 0.012 158.875);
--primary: oklch(0.832 0.202 151.788);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.828 0.248 141.712);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.853 0.139 184.801);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.684 0.169 43.281);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.832 0.202 151.788);
--chart-1: oklch(0.832 0.202 151.788);
--chart-2: oklch(0.828 0.248 141.712);
--chart-3: oklch(0.853 0.139 184.801);
--chart-4: oklch(0.836 0.237 141.682);
--chart-5: oklch(0.84 0.207 151.517);
}