PreviewingGo to this paletteOpen in generator
Code
/* Gilded Butter — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFDC00;
--color-3: #FFE135;
--color-4: #FFE66A;
--color-5: #FFEB9F;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #5E4E00;
--color-muted: #726B51;
--color-primary: #9E8800;
--color-on-primary: #000000;
--color-accent: #877500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #F5EBC6;
--color-muted: #8C856A;
--color-primary: #FFDC00;
--color-on-primary: #140F00;
--color-accent: #C1A600;
--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 #FFEB9F | adjusted for contrast · from #FFD700 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFD700 | adjusted for contrast · from #FFEB9F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFD700 | from palette · color 2 |
| 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.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.01:1 | AAA pass 4.5:1 | |
| Text on surface | 14.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.17:1 | AA pass 4.5:1 | |
| Label on primary | 14.11:1 | AAA pass 4.5:1 | |
| Label on accent | 7.94:1 | AAA pass 4.5:1 | |
| Primary on background | 14.11:1 | AAA pass 3:1 | |
| Accent on background | 7.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 | #FFD700 (Text 1) | #FFDC00 (Text 2) | #FFE135 (Text 3) | #FFE66A (Text 4) | #FFEB9F (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Same color | 1.03— | 1.07— | 1.12— | 1.18— |
| #FFDC00 | 1.03— | Same color | 1.04— | 1.08— | 1.14— |
| #FFE135 | 1.07— | 1.04— | Same color | 1.04— | 1.10— |
| #FFE66A | 1.12— | 1.08— | 1.04— | Same color | 1.05— |
| #FFEB9F | 1.18— | 1.14— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
