Everforest Light is a shadcn/ui theme built around a muted blue primary color (#5b6971) with vivid light yellow accents (#f8df9b). The light mode uses a yellow-tinted background (#fdf6e2). Dark mode keeps the muted blue primary (#5b6971) on a yellow-tinted background (#fdf6e2).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6e2oldlace | #fdf6e2oldlace |
| Foreground | #5b6971dimgray | #5b6971dimgray |
| Card | #fcf3d9papayawhip | #fcf3d9papayawhip |
| Card foreground | #4f5c63dimgray | #4f5c63dimgray |
| Popover | #fcf1d4papayawhip | #fcf1d4papayawhip |
| Popover foreground | #444f55darkslategray | #444f55darkslategray |
| Primary | #5b6971dimgray | #5b6971dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bfbfc0silver | #bfbfc0silver |
| Secondary foreground | #262627darkslategray | #262627darkslategray |
| Muted | #e9e7e2gainsboro | #e9e7e2gainsboro |
| Muted foreground | #565143darkolivegreen | #565143darkolivegreen |
| Accent | #f8df9bkhaki | #f8df9bkhaki |
| Accent foreground | #5b4406saddlebrown | #5b4406saddlebrown |
| Destructive | #7a190bmaroon | #7a190bmaroon |
| Destructive foreground | #f9c5bdpink | #f9c5bdpink |
| Border | #f9edcdblanchedalmond | #f9edcdblanchedalmond |
| Input | #f7e8c0bisque | #f7e8c0bisque |
| Ring | #5b6971dimgray | #5b6971dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 5.25:1 | AA |
| Text on card | 6.22:1 | AA |
| Primary button | 5.67:1 | AA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 6.96:1 | AA |
| Text on background | 5.25:1 | AA |
| Text on card | 6.22:1 | AA |
| Primary button | 5.67:1 | AA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 6.96:1 | AA |
Paste this into your globals.css to use Everforest Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.973 0.027 90.306);
--foreground: oklch(0.512 0.022 233.237);
--muted: oklch(0.928 0.006 90.172);
--muted-foreground: oklch(0.435 0.022 90.405);
--popover: oklch(0.96 0.04 90.373);
--popover-foreground: oklch(0.42 0.017 233.209);
--card: oklch(0.964 0.036 90.353);
--card-foreground: oklch(0.466 0.019 233.225);
--border: oklch(0.947 0.043 90.388);
--input: oklch(0.933 0.055 90.422);
--primary: oklch(0.512 0.022 233.237);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0.001 232.599);
--secondary-foreground: oklch(0.27 0.001 232.625);
--accent: oklch(0.909 0.091 90.341);
--accent-foreground: oklch(0.401 0.079 86.024);
--destructive: oklch(0.381 0.133 31.638);
--destructive-foreground: oklch(0.868 0.061 28.454);
--ring: oklch(0.512 0.022 233.237);
--chart-1: oklch(0.512 0.022 233.237);
--chart-2: oklch(0.805 0.001 232.599);
--chart-3: oklch(0.909 0.091 90.341);
--chart-4: oklch(0.829 0.001 232.596);
--chart-5: oklch(0.513 0.027 233.442);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.973 0.027 90.306);
--foreground: oklch(0.512 0.022 233.237);
--muted: oklch(0.928 0.006 90.172);
--muted-foreground: oklch(0.435 0.022 90.405);
--popover: oklch(0.96 0.04 90.373);
--popover-foreground: oklch(0.42 0.017 233.209);
--card: oklch(0.964 0.036 90.353);
--card-foreground: oklch(0.466 0.019 233.225);
--border: oklch(0.947 0.043 90.388);
--input: oklch(0.933 0.055 90.422);
--primary: oklch(0.512 0.022 233.237);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0.001 232.599);
--secondary-foreground: oklch(0.27 0.001 232.625);
--accent: oklch(0.909 0.091 90.341);
--accent-foreground: oklch(0.401 0.079 86.024);
--destructive: oklch(0.381 0.133 31.638);
--destructive-foreground: oklch(0.868 0.061 28.454);
--ring: oklch(0.512 0.022 233.237);
--chart-1: oklch(0.512 0.022 233.237);
--chart-2: oklch(0.805 0.001 232.599);
--chart-3: oklch(0.909 0.091 90.341);
--chart-4: oklch(0.829 0.001 232.596);
--chart-5: oklch(0.513 0.027 233.442);
}