PreviewingGo to this paletteOpen in generator
Code
/* Golden Pollen — colorset.net */
:root {
--color-1: #FEF3C7;
--color-2: #FEF08A;
--color-3: #FDE047;
--color-4: #FACC15;
--color-5: #F59E0B;
--color-bg: #FAF7EA;
--color-surface: #F1EEE1;
--color-border: #D9D5C5;
--color-text: #6E4506;
--color-muted: #7B6852;
--color-primary: #A46800;
--color-on-primary: #FFFFFF;
--color-accent: #857700;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C01;
--color-surface: #241606;
--color-border: #3B2A17;
--color-text: #FCF3CD;
--color-muted: #90896E;
--color-primary: #F59E0B;
--color-on-primary: #190C01;
--color-accent: #FDE047;
--color-on-accent: #190C01;
}
}
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 #FEF3C7 | adjusted for contrast · from #F59E0B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F59E0B | adjusted for contrast · from #FEF3C7 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F59E0B | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F59E0B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.22:1 | AAA pass 4.5:1 | |
| Text on surface | 15.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 8.93:1 | AAA pass 4.5:1 | |
| Label on accent | 14.56:1 | AAA pass 4.5:1 | |
| Primary on background | 8.93:1 | AAA pass 3:1 | |
| Accent on background | 14.56: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 | #FEF3C7 (Text 1) | #FEF08A (Text 2) | #FDE047 (Text 3) | #FACC15 (Text 4) | #F59E0B (Text 5) |
|---|---|---|---|---|---|
| #FEF3C7 | Same color | 1.05— | 1.18— | 1.38— | 1.93— |
| #FEF08A | 1.05— | Same color | 1.13— | 1.32— | 1.85— |
| #FDE047 | 1.18— | 1.13— | Same color | 1.16— | 1.63— |
| #FACC15 | 1.38— | 1.32— | 1.16— | Same color | 1.40— |
| #F59E0B | 1.93— | 1.85— | 1.63— | 1.40— | Same color |
Shades
Shades and tints (50–950)
