Woodland is a shadcn/ui theme built around a light green primary color (#c3f1a2) with light green accents (#a2f1a8). The light mode uses a neutral background (#f9fcf7). Dark mode keeps the light green primary (#c3f1a2) on a neutral background (#050803).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf7mintcream | #050803black |
| Foreground | #070b04black | #f7f9f6whitesmoke |
| Card | #f7fbf4whitesmoke | #070b04black |
| Card foreground | #050803black | #fafbf9snow |
| Popover | #f9fcf7mintcream | #050803black |
| Popover foreground | #070b04black | #f7f9f6whitesmoke |
| Primary | #c3f1a2palegoldenrod | #c3f1a2palegoldenrod |
| Primary foreground | #2a540ddarkgreen | #2a540ddarkgreen |
| Secondary | #eaf1a2palegoldenrod | #eaf1a2palegoldenrod |
| Secondary foreground | #4e540ddarkolivegreen | #4e540ddarkolivegreen |
| Muted | #f0f0ealinen | #14150fblack |
| Muted foreground | #585945darkolivegreen | #b9baa6darkgray |
| Accent | #a2f1a8palegreen | #a2f1a8palegreen |
| Accent foreground | #0d5413darkgreen | #0d5413darkgreen |
| Destructive | #680903maroon | #f92e1forangered |
| Destructive foreground | #fda7a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c3f1a2palegoldenrod | #c3f1a2palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 6.92:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 6.26:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 6.92:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 9.31:1 | AAA |
| Accent | 6.83:1 | AA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Woodland in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 131.784);
--foreground: oklch(0.143 0.021 130.573);
--muted: oklch(0.953 0.008 110.396);
--muted-foreground: oklch(0.458 0.032 111.53);
--popover: oklch(0.989 0.007 131.784);
--popover-foreground: oklch(0.143 0.021 130.573);
--card: oklch(0.983 0.011 131.815);
--card-foreground: oklch(0.125 0.018 130.462);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.907 0.114 132.874);
--primary-foreground: oklch(0.401 0.109 135.653);
--secondary: oklch(0.935 0.101 112.213);
--secondary-foreground: oklch(0.428 0.09 114.533);
--accent: oklch(0.889 0.126 146.426);
--accent-foreground: oklch(0.391 0.119 143.803);
--destructive: oklch(0.332 0.128 30.274);
--destructive-foreground: oklch(0.81 0.103 24.059);
--ring: oklch(0.907 0.114 132.874);
--chart-1: oklch(0.907 0.114 132.874);
--chart-2: oklch(0.935 0.101 112.213);
--chart-3: oklch(0.889 0.126 146.426);
--chart-4: oklch(0.944 0.087 111.933);
--chart-5: oklch(0.91 0.119 132.922);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.018 130.462);
--foreground: oklch(0.98 0.005 131.767);
--muted: oklch(0.192 0.011 111.314);
--muted-foreground: oklch(0.783 0.028 110.919);
--popover: oklch(0.125 0.018 130.462);
--popover-foreground: oklch(0.98 0.005 131.767);
--card: oklch(0.143 0.021 130.573);
--card-foreground: oklch(0.987 0.003 131.753);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.907 0.114 132.874);
--primary-foreground: oklch(0.401 0.109 135.653);
--secondary: oklch(0.935 0.101 112.213);
--secondary-foreground: oklch(0.428 0.09 114.533);
--accent: oklch(0.889 0.126 146.426);
--accent-foreground: oklch(0.391 0.119 143.803);
--destructive: oklch(0.634 0.237 29.562);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.907 0.114 132.874);
--chart-1: oklch(0.907 0.114 132.874);
--chart-2: oklch(0.935 0.101 112.213);
--chart-3: oklch(0.889 0.126 146.426);
--chart-4: oklch(0.944 0.087 111.933);
--chart-5: oklch(0.91 0.119 132.922);
}