PreviewingGo to this paletteOpen in generator
Code
/* Saffron Gold — colorset.net */
:root {
--color-1: #F4C430;
--color-2: #FFB000;
--color-3: #FFC72C;
--color-4: #FFD700;
--color-5: #FFDB58;
--color-bg: #FBF7E8;
--color-surface: #F2EEDF;
--color-border: #DAD5C3;
--color-text: #6C4801;
--color-muted: #796952;
--color-primary: #B77D00;
--color-on-primary: #000000;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D00;
--color-surface: #231706;
--color-border: #392B16;
--color-text: #E8DEB9;
--color-muted: #898166;
--color-primary: #FFB000;
--color-on-primary: #180D00;
--color-accent: #FFD700;
--color-on-accent: #180D00;
}
}
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 #FFDB58 | adjusted for contrast · from #FFB000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFB000 | adjusted for contrast · from #FFDB58 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFB000 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB000 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.21:1 | AAA pass 4.5:1 | |
| Text on surface | 13.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 10.45:1 | AAA pass 4.5:1 | |
| Label on accent | 13.66:1 | AAA pass 4.5:1 | |
| Primary on background | 10.45:1 | AAA pass 3:1 | |
| Accent on background | 13.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 | #F4C430 (Text 1) | #FFB000 (Text 2) | #FFC72C (Text 3) | #FFD700 (Text 4) | #FFDB58 (Text 5) |
|---|---|---|---|---|---|
| #F4C430 | Same color | 1.12— | 1.05— | 1.17— | 1.21— |
| #FFB000 | 1.12— | Same color | 1.17— | 1.31— | 1.35— |
| #FFC72C | 1.05— | 1.17— | Same color | 1.11— | 1.15— |
| #FFD700 | 1.17— | 1.31— | 1.11— | Same color | 1.04— |
| #FFDB58 | 1.21— | 1.35— | 1.15— | 1.04— | Same color |
Shades
Shades and tints (50–950)
