PreviewingGo to this paletteOpen in generator
Code
/* Honey Yellow — colorset.net */
:root {
--color-1: #FFDB58;
--color-2: #F4A460;
--color-3: #DAA520;
--color-4: #B8860B;
--color-5: #8B7D6B;
--color-bg: #FBF7E8;
--color-surface: #F2EEDF;
--color-border: #DAD5C3;
--color-text: #5A4D3C;
--color-muted: #766957;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F09;
--color-surface: #1D1913;
--color-border: #332D24;
--color-text: #E8DEB9;
--color-muted: #8C8469;
--color-primary: #B8860B;
--color-on-primary: #130F09;
--color-accent: #FFDB58;
--color-on-accent: #130F09;
}
}
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 #FFDB58 | adjusted for contrast · from #8B7D6B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B7D6B | adjusted for contrast · from #FFDB58 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8860B | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8860B | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.16:1 | AAA pass 4.5:1 | |
| Text on surface | 12.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 14.11:1 | AAA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA pass 3:1 | |
| Accent on background | 14.11: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 | #FFDB58 (Text 1) | #F4A460 (Text 2) | #DAA520 (Text 3) | #B8860B (Text 4) | #8B7D6B (Text 5) |
|---|---|---|---|---|---|
| #FFDB58 | Same color | 1.50— | 1.65— | 2.41— | 2.96— |
| #F4A460 | 1.50— | Same color | 1.10— | 1.60— | 1.97— |
| #DAA520 | 1.65— | 1.10— | Same color | 1.45— | 1.79— |
| #B8860B | 2.41— | 1.60— | 1.45— | Same color | 1.23— |
| #8B7D6B | 2.96— | 1.97— | 1.79— | 1.23— | Same color |
Shades
Shades and tints (50–950)
