PreviewingGo to this paletteOpen in generator
Code
/* Honey Drizzle — colorset.net */
:root {
--color-1: #D4AF37;
--color-2: #E4BF3A;
--color-3: #F4CF46;
--color-4: #FDD05C;
--color-5: #FFE082;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #614C00;
--color-muted: #736A51;
--color-primary: #907300;
--color-on-primary: #FFFFFF;
--color-accent: #574500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #EEE2BD;
--color-muted: #8C8368;
--color-primary: #D4AF37;
--color-on-primary: #150F00;
--color-accent: #FFE082;
--color-on-accent: #150F00;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #FFE082 | adjusted for contrast · from #D4AF37 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4AF37 | adjusted for contrast · from #FFE082 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4AF37 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4AF37 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 9.31:1 | AAA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 8.69:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 13.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 9.08:1 | AAA pass 4.5:1 | |
| Label on accent | 14.76:1 | AAA pass 4.5:1 | |
| Primary on background | 9.08:1 | AAA pass 3:1 | |
| Accent on background | 14.76:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #D4AF37 (Text 1) | #E4BF3A (Text 2) | #F4CF46 (Text 3) | #FDD05C (Text 4) | #FFE082 (Text 5) |
|---|---|---|---|---|---|
| #D4AF37 | Same color | 1.18— | 1.39— | 1.44— | 1.63— |
| #E4BF3A | 1.18— | Same color | 1.17— | 1.22— | 1.37— |
| #F4CF46 | 1.39— | 1.17— | Same color | 1.04— | 1.17— |
| #FDD05C | 1.44— | 1.22— | 1.04— | Same color | 1.13— |
| #FFE082 | 1.63— | 1.37— | 1.17— | 1.13— | Same color |
Shades
Shades and tints (50–950)
