PreviewingGo to this paletteOpen in generator
Code
/* Saffron Citrus — colorset.net */
:root {
--color-1: #FFB74D;
--color-2: #FFC107;
--color-3: #FFCA28;
--color-4: #FFD54F;
--color-5: #FFEB3B;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #6D4602;
--color-muted: #7A6852;
--color-primary: #956F00;
--color-on-primary: #FFFFFF;
--color-accent: #5A4200;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D00;
--color-surface: #231706;
--color-border: #3A2B16;
--color-text: #EDE9C3;
--color-muted: #878469;
--color-primary: #FFC107;
--color-on-primary: #180D00;
--color-accent: #FFEB3B;
--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 #FFD54F | adjusted for contrast · from #FFB74D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFB74D | adjusted for contrast · from #FFD54F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFB74D | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB74D | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.49:1 | AAA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 8.86:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.55:1 | AAA pass 4.5:1 | |
| Text on surface | 14.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 11.75:1 | AAA pass 4.5:1 | |
| Label on accent | 15.69:1 | AAA pass 4.5:1 | |
| Primary on background | 11.75:1 | AAA pass 3:1 | |
| Accent on background | 15.69: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 | #FFB74D (Text 1) | #FFC107 (Text 2) | #FFCA28 (Text 3) | #FFD54F (Text 4) | #FFEB3B (Text 5) |
|---|---|---|---|---|---|
| #FFB74D | Same color | 1.06— | 1.13— | 1.23— | 1.42— |
| #FFC107 | 1.06— | Same color | 1.07— | 1.16— | 1.33— |
| #FFCA28 | 1.13— | 1.07— | Same color | 1.08— | 1.25— |
| #FFD54F | 1.23— | 1.16— | 1.08— | Same color | 1.16— |
| #FFEB3B | 1.42— | 1.33— | 1.25— | 1.16— | Same color |
Shades
Shades and tints (50–950)
