Honey is a shadcn/ui theme built around a deep green primary color (#20240a) with deep indigo accents (#0e0a24). The light mode uses a neutral background (#fdfefb). Dark mode keeps the deep green primary (#20240a) on a green-tinted background (#090a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #090a05black |
| Foreground | #070802black | #fdfdfcwhite |
| Card | #fcfdf7snow | #0d0e07black |
| Card foreground | #040401black | #ffffffwhite |
| Popover | #fcfdf7snow | #0d0e07black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #20240ablack | #20240ablack |
| Primary foreground | #acc337yellowgreen | #acc337yellowgreen |
| Secondary | #0e0a24black | #0e0a24black |
| Secondary foreground | #9284dcmediumpurple | #9284dcmediumpurple |
| Muted | #dddbe6gainsboro | #1b1924black |
| Muted foreground | #434148darkslategray | #b8b7besilver |
| Accent | #0e0a24black | #0e0a24black |
| Accent foreground | #9284dcmediumpurple | #9284dcmediumpurple |
| Destructive | #c40e0efirebrick | #d70f0fred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #20240ablack | #20240ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 7.34:1 | AAA |
| Accent | 6.02:1 | AA |
| Destructive | 6.17:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 8.70:1 | AAA |
| Accent | 6.02:1 | AA |
| Destructive | 5.31:1 | AA |
Paste this into your globals.css to use Honey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 114.137);
--foreground: oklch(0.131 0.02 114.941);
--muted: oklch(0.896 0.015 293.752);
--muted-foreground: oklch(0.381 0.012 293.49);
--popover: oklch(0.991 0.008 114.208);
--popover-foreground: oklch(0.104 0.016 114.941);
--card: oklch(0.991 0.008 114.208);
--card-foreground: oklch(0.104 0.016 114.941);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.248 0.043 117.527);
--primary-foreground: oklch(0.774 0.161 118.658);
--secondary: oklch(0.169 0.051 287.194);
--secondary-foreground: oklch(0.662 0.129 290.049);
--accent: oklch(0.169 0.051 287.194);
--accent-foreground: oklch(0.662 0.129 290.049);
--destructive: oklch(0.518 0.207 28.627);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.248 0.043 117.527);
--chart-1: oklch(0.248 0.043 117.527);
--chart-2: oklch(0.169 0.051 287.194);
--chart-3: oklch(0.169 0.051 287.194);
--chart-4: oklch(0.193 0.065 286.147);
--chart-5: oklch(0.251 0.045 117.668);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.013 114.615);
--foreground: oklch(0.994 0.002 114.099);
--muted: oklch(0.221 0.021 292.193);
--muted-foreground: oklch(0.782 0.01 293.833);
--popover: oklch(0.159 0.015 115.452);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.015 115.452);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.248 0.043 117.527);
--primary-foreground: oklch(0.774 0.161 118.658);
--secondary: oklch(0.169 0.051 287.194);
--secondary-foreground: oklch(0.662 0.129 290.049);
--accent: oklch(0.169 0.051 287.194);
--accent-foreground: oklch(0.662 0.129 290.049);
--destructive: oklch(0.555 0.222 28.68);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.248 0.043 117.527);
--chart-1: oklch(0.248 0.043 117.527);
--chart-2: oklch(0.169 0.051 287.194);
--chart-3: oklch(0.169 0.051 287.194);
--chart-4: oklch(0.193 0.065 286.147);
--chart-5: oklch(0.251 0.045 117.668);
}