PreviewingGo to this paletteOpen in generator
Code
/* Honey Amber — colorset.net */
:root {
--color-1: #DAA520;
--color-2: #E6B83E;
--color-3: #F2CB5C;
--color-4: #FFDE7A;
--color-5: #FFF198;
--color-bg: #FAF7E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #644900;
--color-muted: #756850;
--color-primary: #AE8100;
--color-on-primary: #000000;
--color-accent: #837513;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #F6F0CA;
--color-muted: #8C886C;
--color-primary: #DAA520;
--color-on-primary: #170E00;
--color-accent: #FFF198;
--color-on-accent: #170E00;
}
}
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 #FFF198 | adjusted for contrast · from #DAA520 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DAA520 | adjusted for contrast · from #FFF198 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DAA520 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DAA520 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.59:1 | AAA pass 4.5:1 | |
| Text on surface | 15.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 8.54:1 | AAA pass 4.5:1 | |
| Label on accent | 16.64:1 | AAA pass 4.5:1 | |
| Primary on background | 8.54:1 | AAA pass 3:1 | |
| Accent on background | 16.64: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 | #DAA520 (Text 1) | #E6B83E (Text 2) | #F2CB5C (Text 3) | #FFDE7A (Text 4) | #FFF198 (Text 5) |
|---|---|---|---|---|---|
| #DAA520 | Same color | 1.20— | 1.44— | 1.70— | 1.95— |
| #E6B83E | 1.20— | Same color | 1.19— | 1.42— | 1.62— |
| #F2CB5C | 1.44— | 1.19— | Same color | 1.19— | 1.36— |
| #FFDE7A | 1.70— | 1.42— | 1.19— | Same color | 1.14— |
| #FFF198 | 1.95— | 1.62— | 1.36— | 1.14— | Same color |
Shades
Shades and tints (50–950)
