PreviewingGo to this paletteOpen in generator
Code
/* Sunset Marigold — colorset.net */
:root {
--color-1: #D4A017;
--color-2: #E6B333;
--color-3: #F2C24E;
--color-4: #FFD86B;
--color-5: #FFE699;
--color-bg: #FBF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #654900;
--color-muted: #766950;
--color-primary: #966F00;
--color-on-primary: #FFFFFF;
--color-accent: #9E873A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #F3E7C2;
--color-muted: #8C8368;
--color-primary: #D4A017;
--color-on-primary: #160E00;
--color-accent: #FFD86B;
--color-on-accent: #160E00;
}
}
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 #FFE699 | adjusted for contrast · from #D4A017 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4A017 | adjusted for contrast · from #FFE699 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4A017 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4A017 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.52:1 | AAA pass 4.5:1 | |
| Text on surface | 14.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 8.06:1 | AAA pass 4.5:1 | |
| Label on accent | 13.94:1 | AAA pass 4.5:1 | |
| Primary on background | 8.06:1 | AAA pass 3:1 | |
| Accent on background | 13.94: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 | #D4A017 (Text 1) | #E6B333 (Text 2) | #F2C24E (Text 3) | #FFD86B (Text 4) | #FFE699 (Text 5) |
|---|---|---|---|---|---|
| #D4A017 | Same color | 1.23— | 1.43— | 1.73— | 1.93— |
| #E6B333 | 1.23— | Same color | 1.16— | 1.41— | 1.57— |
| #F2C24E | 1.43— | 1.16— | Same color | 1.21— | 1.35— |
| #FFD86B | 1.73— | 1.41— | 1.21— | Same color | 1.11— |
| #FFE699 | 1.93— | 1.57— | 1.35— | 1.11— | Same color |
Shades
Shades and tints (50–950)
