PreviewingGo to this paletteOpen in generator
Code
/* Marigold Yellow — colorset.net */
:root {
--color-1: #CD9B1D;
--color-2: #EAA221;
--color-3: #FCAE1E;
--color-4: #FFB300;
--color-5: #FFCC00;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #664A00;
--color-muted: #766A51;
--color-primary: #9C6C00;
--color-on-primary: #FFFFFF;
--color-accent: #5F4000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #DFD2AE;
--color-muted: #8A8166;
--color-primary: #FFB300;
--color-on-primary: #170E00;
--color-accent: #CD9B1D;
--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 #FFCC00 | adjusted for contrast · from #CD9B1D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CD9B1D | adjusted for contrast · from #FFCC00 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CD9B1D | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD9B1D | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06: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 | 9.46:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 8.83:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.71:1 | AAA pass 4.5:1 | |
| Text on surface | 11.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 10.64:1 | AAA pass 4.5:1 | |
| Label on accent | 7.55:1 | AAA pass 4.5:1 | |
| Primary on background | 10.64:1 | AAA pass 3:1 | |
| Accent on background | 7.55: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 | #CD9B1D (Text 1) | #EAA221 (Text 2) | #FCAE1E (Text 3) | #FFB300 (Text 4) | #FFCC00 (Text 5) |
|---|---|---|---|---|---|
| #CD9B1D | Same color | 1.17— | 1.35— | 1.41— | 1.67— |
| #EAA221 | 1.17— | Same color | 1.16— | 1.21— | 1.43— |
| #FCAE1E | 1.35— | 1.16— | Same color | 1.04— | 1.24— |
| #FFB300 | 1.41— | 1.21— | 1.04— | Same color | 1.19— |
| #FFCC00 | 1.67— | 1.43— | 1.24— | 1.19— | Same color |
Shades
Shades and tints (50–950)
