PreviewingGo to this paletteOpen in generator
Code
/* Buttercup Gleam — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFD91A;
--color-3: #FFDB33;
--color-4: #FFDD4D;
--color-5: #FFDF66;
--color-bg: #FBF7E8;
--color-surface: #F2EEDF;
--color-border: #DAD5C3;
--color-text: #5E4E00;
--color-muted: #726B51;
--color-primary: #8C7500;
--color-on-primary: #FFFFFF;
--color-accent: #A28600;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #EBE1BC;
--color-muted: #8A8368;
--color-primary: #FFD700;
--color-on-primary: #140F00;
--color-accent: #C0A200;
--color-on-accent: #140F00;
}
}
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 #FFDF66 | adjusted for contrast · from #FFD700 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFD700 | adjusted for contrast · from #FFDF66 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFD700 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFD700 | adjusted for contrast · from #FFD700 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.60:1 | AAA pass 4.5:1 | |
| Text on surface | 13.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 13.63:1 | AAA pass 4.5:1 | |
| Label on accent | 7.66:1 | AAA pass 4.5:1 | |
| Primary on background | 13.63:1 | AAA pass 3:1 | |
| Accent on background | 7.66: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 | #FFD700 (Text 1) | #FFD91A (Text 2) | #FFDB33 (Text 3) | #FFDD4D (Text 4) | #FFDF66 (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Same color | 1.01— | 1.03— | 1.05— | 1.07— |
| #FFD91A | 1.01— | Same color | 1.02— | 1.03— | 1.05— |
| #FFDB33 | 1.03— | 1.02— | Same color | 1.02— | 1.04— |
| #FFDD4D | 1.05— | 1.03— | 1.02— | Same color | 1.02— |
| #FFDF66 | 1.07— | 1.05— | 1.04— | 1.02— | Same color |
Shades
Shades and tints (50–950)
