Beneficial Harvest Night is a shadcn/ui theme built around an indigo primary color (#4e4080) with light teal accents (#ddf2e9). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#4e4080) on a neutral background (#030308).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #030308black |
| Foreground | #202060midnightblue | #fcfcfdwhite |
| Card | #e8f6f0honeydew | #030308black |
| Card foreground | #05040cblack | #fcfcfdwhite |
| Popover | #fcfbfewhite | #030308black |
| Popover foreground | #05040cblack | #fcfcfdwhite |
| Primary | #4e4080darkslateblue | #4e4080darkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #48bd68mediumseagreen | #5fab69mediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0e0e0gainsboro | #2b2322darkslategray |
| Muted foreground | #000000black | #aea8a7darkgray |
| Accent | #ddf2e9lavender | #3bc94blimegreen |
| Accent foreground | #0c2c10black | #0c2c10black |
| Destructive | #7f1d1dmaroon | #f05428tomato |
| Destructive foreground | #fca5a5lightpink | #ffffffwhite |
| Border | #e7e6ealavender | #18171cblack |
| Input | #e7e6ealavender | #18171cblack |
| Ring | #202060midnightblue | #4b3bc9slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.18:1 | AAA |
| Text on card | 18.33:1 | AAA |
| Primary button | 8.86:1 | AAA |
| Secondary button | 2.39:1 | Fail |
| Muted text | 15.84:1 | AAA |
| Accent | 12.97:1 | AAA |
| Destructive | 5.27:1 | AA |
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 8.86:1 | AAA |
| Secondary button | 2.79:1 | Fail |
| Muted text | 6.57:1 | AA |
| Accent | 6.98:1 | AA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Beneficial Harvest Night in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 291.72);
--foreground: oklch(0.288 0.11 276.94);
--muted: oklch(0.906 0 180);
--muted-foreground: oklch(0 0 0);
--popover: oklch(0.99 0.003 291.72);
--popover-foreground: oklch(0.113 0.022 289.64);
--card: oklch(0.961 0.017 168.507);
--card-foreground: oklch(0.113 0.022 289.64);
--border: oklch(0.927 0.005 291.679);
--input: oklch(0.927 0.005 291.679);
--primary: oklch(0.418 0.104 291.314);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.712 0.161 149.414);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.943 0.025 168.235);
--accent-foreground: oklch(0.261 0.063 145.617);
--destructive: oklch(0.396 0.133 25.723);
--destructive-foreground: oklch(0.808 0.104 19.572);
--ring: oklch(0.289 0.111 276.93);
--chart-1: oklch(0.418 0.104 291.314);
--chart-2: oklch(0.712 0.161 149.414);
--chart-3: oklch(0.943 0.025 168.235);
--chart-4: oklch(0.727 0.153 149.955);
--chart-5: oklch(0.413 0.113 290.687);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.018 289.888);
--foreground: oklch(0.991 0.001 291.759);
--muted: oklch(0.264 0.013 26.83);
--muted-foreground: oklch(0.737 0.007 26.504);
--popover: oklch(0.1 0.018 289.888);
--popover-foreground: oklch(0.991 0.001 291.759);
--card: oklch(0.1 0.018 289.888);
--card-foreground: oklch(0.991 0.001 291.759);
--border: oklch(0.209 0.008 291.048);
--input: oklch(0.209 0.008 291.048);
--primary: oklch(0.418 0.104 291.314);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.675 0.123 147.027);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.736 0.206 144.794);
--accent-foreground: oklch(0.261 0.063 145.617);
--destructive: oklch(0.652 0.2 35.682);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.466 0.209 279.796);
--chart-1: oklch(0.418 0.104 291.314);
--chart-2: oklch(0.675 0.123 147.027);
--chart-3: oklch(0.736 0.206 144.794);
--chart-4: oklch(0.695 0.115 147.295);
--chart-5: oklch(0.413 0.113 290.687);
}