PreviewingGo to this paletteOpen in generator
Code
/* Gold Yellow — colorset.net */
:root {
--color-1: #FFA500;
--color-2: #FFD700;
--color-3: #FFFF00;
--color-4: #FFFACD;
--color-5: #FFFFF0;
--color-bg: #FFFFF0;
--color-surface: #F6F6E7;
--color-border: #DDDDCB;
--color-text: #72490C;
--color-muted: #7F6D57;
--color-primary: #C57E00;
--color-on-primary: #000000;
--color-accent: #929200;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C01;
--color-surface: #241606;
--color-border: #3B2A17;
--color-text: #FFFFF0;
--color-muted: #909082;
--color-primary: #FFA500;
--color-on-primary: #190C01;
--color-accent: #FFFF00;
--color-on-accent: #190C01;
}
}
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 | from palette · color 5 | adjusted for contrast · from #FFA500 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFA500 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFA500 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFA500 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.36:1 | AA pass 4.5:1 | |
| Label on accent | 6.33:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.02:1 | AAA pass 4.5:1 | |
| Text on surface | 17.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.94:1 | AA pass 4.5:1 | |
| Label on primary | 9.72:1 | AAA pass 4.5:1 | |
| Label on accent | 17.87:1 | AAA pass 4.5:1 | |
| Primary on background | 9.72:1 | AAA pass 3:1 | |
| Accent on background | 17.87: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 | #FFA500 (Text 1) | #FFD700 (Text 2) | #FFFF00 (Text 3) | #FFFACD (Text 4) | #FFFFF0 (Text 5) |
|---|---|---|---|---|---|
| #FFA500 | Same color | 1.41— | 1.84— | 1.86— | 1.96— |
| #FFD700 | 1.41— | Same color | 1.31— | 1.32— | 1.39— |
| #FFFF00 | 1.84— | 1.31— | Same color | 1.01— | 1.06— |
| #FFFACD | 1.86— | 1.32— | 1.01— | Same color | 1.05— |
| #FFFFF0 | 1.96— | 1.39— | 1.06— | 1.05— | Same color |
Shades
Shades and tints (50–950)
