PreviewingGo to this paletteOpen in generator
Code
/* Marigold Syrup — colorset.net */
:root {
--color-1: #FFBF00;
--color-2: #FFC51A;
--color-3: #FFCB33;
--color-4: #FFD14D;
--color-5: #FFD766;
--color-bg: #FCF7E8;
--color-surface: #F3EDDF;
--color-border: #DBD5C3;
--color-text: #634800;
--color-muted: #756850;
--color-primary: #987000;
--color-on-primary: #FFFFFF;
--color-accent: #5D4300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #E8DBB6;
--color-muted: #8C8268;
--color-primary: #FFBF00;
--color-on-primary: #160E00;
--color-accent: #FFD766;
--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 #FFD766 | adjusted for contrast · from #FFBF00 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFBF00 | adjusted for contrast · from #FFD766 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFBF00 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFBF00 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.98:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 9.26:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 8.64:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.89:1 | AAA pass 4.5:1 | |
| Text on surface | 12.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 11.58:1 | AAA pass 4.5:1 | |
| Label on accent | 13.82:1 | AAA pass 4.5:1 | |
| Primary on background | 11.58:1 | AAA pass 3:1 | |
| Accent on background | 13.82: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 | #FFBF00 (Text 1) | #FFC51A (Text 2) | #FFCB33 (Text 3) | #FFD14D (Text 4) | #FFD766 (Text 5) |
|---|---|---|---|---|---|
| #FFBF00 | Same color | 1.04— | 1.09— | 1.14— | 1.19— |
| #FFC51A | 1.04— | Same color | 1.04— | 1.09— | 1.14— |
| #FFCB33 | 1.09— | 1.04— | Same color | 1.05— | 1.10— |
| #FFD14D | 1.14— | 1.09— | 1.05— | Same color | 1.05— |
| #FFD766 | 1.19— | 1.14— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
