PreviewingGo to this paletteOpen in generator
Code
/* Saffron Orange — colorset.net */
:root {
--color-1: #E6A817;
--color-2: #F2B824;
--color-3: #FFC832;
--color-4: #FFD54F;
--color-5: #FFE57F;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #684A00;
--color-muted: #776951;
--color-primary: #9A6F00;
--color-on-primary: #FFFFFF;
--color-accent: #5E4200;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #EFE6C1;
--color-muted: #898267;
--color-primary: #E6A817;
--color-on-primary: #170D00;
--color-accent: #FFE57F;
--color-on-accent: #170D00;
}
}
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 #FFE57F | adjusted for contrast · from #E6A817 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6A817 | adjusted for contrast · from #FFE57F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6A817 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6A817 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 9.31:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 8.68:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.32:1 | AAA pass 4.5:1 | |
| Text on surface | 13.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 9.12:1 | AAA pass 4.5:1 | |
| Label on accent | 15.33:1 | AAA pass 4.5:1 | |
| Primary on background | 9.12:1 | AAA pass 3:1 | |
| Accent on background | 15.33: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 | #E6A817 (Text 1) | #F2B824 (Text 2) | #FFC832 (Text 3) | #FFD54F (Text 4) | #FFE57F (Text 5) |
|---|---|---|---|---|---|
| #E6A817 | Same color | 1.17— | 1.36— | 1.49— | 1.68— |
| #F2B824 | 1.17— | Same color | 1.16— | 1.28— | 1.44— |
| #FFC832 | 1.36— | 1.16— | Same color | 1.10— | 1.24— |
| #FFD54F | 1.49— | 1.28— | 1.10— | Same color | 1.13— |
| #FFE57F | 1.68— | 1.44— | 1.24— | 1.13— | Same color |
Shades
Shades and tints (50–950)
