Parched is a shadcn/ui theme built around a green primary color (#519938) with green accents (#389951). The light mode uses a neutral background (#f8fdf6). Dark mode keeps the green primary (#519938) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf6mintcream | #000000black |
| Foreground | #040802black | #fafbf9snow |
| Card | #f5fdf2honeydew | #030303black |
| Card foreground | #020401black | #fcfdfcwhite |
| Popover | #f8fdf6mintcream | #000000black |
| Popover foreground | #040802black | #fafbf9snow |
| Primary | #519938olivedrab | #519938olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #819938olivedrab | #819938olivedrab |
| Secondary foreground | #030401black | #030401black |
| Muted | #e3e6dbgainsboro | #212419black |
| Muted foreground | #666c56dimgray | #a3a993darkgray |
| Accent | #389951seagreen | #389951seagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #76130amaroon | #ec2a18orangered |
| Destructive foreground | #f9beb8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #519938olivedrab | #519938olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.62:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 3.53:1 | AA Large |
| Secondary button | 6.37:1 | AA |
| Muted text | 4.30:1 | AA Large |
| Accent | 3.60:1 | AA Large |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 3.53:1 | AA Large |
| Secondary button | 6.37:1 | AA |
| Muted text | 6.50:1 | AA |
| Accent | 3.60:1 | AA Large |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Parched in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.011 137.781);
--foreground: oklch(0.125 0.024 135.898);
--muted: oklch(0.919 0.014 118.098);
--muted-foreground: oklch(0.519 0.033 118.963);
--popover: oklch(0.989 0.011 137.781);
--popover-foreground: oklch(0.125 0.024 135.898);
--card: oklch(0.984 0.016 137.791);
--card-foreground: oklch(0.099 0.019 135.898);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.613 0.15 138.715);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.643 0.125 121.91);
--secondary-foreground: oklch(0.101 0.012 117.991);
--accent: oklch(0.607 0.14 148.716);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.367 0.135 29.988);
--destructive-foreground: oklch(0.853 0.07 24.565);
--ring: oklch(0.613 0.15 138.715);
--chart-1: oklch(0.613 0.15 138.715);
--chart-2: oklch(0.643 0.125 121.91);
--chart-3: oklch(0.607 0.14 148.716);
--chart-4: oklch(0.677 0.133 121.938);
--chart-5: oklch(0.621 0.158 138.818);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 137.767);
--muted: oklch(0.253 0.019 119.187);
--muted-foreground: oklch(0.724 0.031 118.577);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 137.767);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 137.765);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.613 0.15 138.715);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.643 0.125 121.91);
--secondary-foreground: oklch(0.101 0.012 117.991);
--accent: oklch(0.607 0.14 148.716);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.608 0.229 30.071);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.613 0.15 138.715);
--chart-1: oklch(0.613 0.15 138.715);
--chart-2: oklch(0.643 0.125 121.91);
--chart-3: oklch(0.607 0.14 148.716);
--chart-4: oklch(0.677 0.133 121.938);
--chart-5: oklch(0.621 0.158 138.818);
}