PreviewingGo to this paletteOpen in generator
Code
/* Sunburst Yellow — colorset.net */
:root {
--color-1: #F7B731;
--color-2: #FDC830;
--color-3: #FFD662;
--color-4: #FFE066;
--color-5: #FFEB3B;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #684900;
--color-muted: #776951;
--color-primary: #9A6E00;
--color-on-primary: #FFFFFF;
--color-accent: #A78400;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #EDE9C3;
--color-muted: #878469;
--color-primary: #F7B731;
--color-on-primary: #170D00;
--color-accent: #FFEB3B;
--color-on-accent: #170D00;
}
}
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 #FFE066 | adjusted for contrast · from #F7B731 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F7B731 | adjusted for contrast · from #FFE066 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7B731 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F7B731 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.58:1 | AAA pass 4.5:1 | |
| Text on surface | 14.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 10.76:1 | AAA pass 4.5:1 | |
| Label on accent | 15.72:1 | AAA pass 4.5:1 | |
| Primary on background | 10.76:1 | AAA pass 3:1 | |
| Accent on background | 15.72: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 | #F7B731 (Text 1) | #FDC830 (Text 2) | #FFD662 (Text 3) | #FFE066 (Text 4) | #FFEB3B (Text 5) |
|---|---|---|---|---|---|
| #F7B731 | Same color | 1.15— | 1.28— | 1.37— | 1.46— |
| #FDC830 | 1.15— | Same color | 1.12— | 1.19— | 1.28— |
| #FFD662 | 1.28— | 1.12— | Same color | 1.07— | 1.14— |
| #FFE066 | 1.37— | 1.19— | 1.07— | Same color | 1.07— |
| #FFEB3B | 1.46— | 1.28— | 1.14— | 1.07— | Same color |
Shades
Shades and tints (50–950)
