PreviewingGo to this paletteOpen in generator
Code
/* Saffron Honey — colorset.net */
:root {
--color-1: #FFAA00;
--color-2: #FFB41A;
--color-3: #FFBE33;
--color-4: #FFC84D;
--color-5: #FFD266;
--color-bg: #FDF6E8;
--color-surface: #F3EDDF;
--color-border: #DCD4C3;
--color-text: #6E4704;
--color-muted: #7A6952;
--color-primary: #A26B00;
--color-on-primary: #FFFFFF;
--color-accent: #634000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D00;
--color-surface: #231706;
--color-border: #3A2B16;
--color-text: #E7D7B3;
--color-muted: #8C8066;
--color-primary: #FFAA00;
--color-on-primary: #180D00;
--color-accent: #FFD266;
--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 #FFD266 | adjusted for contrast · from #FFAA00 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFAA00 | adjusted for contrast · from #FFD266 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFAA00 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFAA00 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 9.28:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 8.62:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.47:1 | AAA pass 4.5:1 | |
| Text on surface | 12.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 10.03:1 | AAA pass 4.5:1 | |
| Label on accent | 13.37:1 | AAA pass 4.5:1 | |
| Primary on background | 10.03:1 | AAA pass 3:1 | |
| Accent on background | 13.37: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 | #FFAA00 (Text 1) | #FFB41A (Text 2) | #FFBE33 (Text 3) | #FFC84D (Text 4) | #FFD266 (Text 5) |
|---|---|---|---|---|---|
| #FFAA00 | Same color | 1.07— | 1.15— | 1.24— | 1.33— |
| #FFB41A | 1.07— | Same color | 1.07— | 1.15— | 1.24— |
| #FFBE33 | 1.15— | 1.07— | Same color | 1.08— | 1.16— |
| #FFC84D | 1.24— | 1.15— | 1.08— | Same color | 1.08— |
| #FFD266 | 1.33— | 1.24— | 1.16— | 1.08— | Same color |
Shades
Shades and tints (50–950)
