PreviewingGo to this paletteOpen in generator
Code
/* Saffron Silk — colorset.net */
:root {
--color-1: #FBF5EA;
--color-2: #C98A14;
--color-3: #1F4F5C;
--color-4: #EFE2C6;
--color-5: #1E1A16;
--color-bg: #FBF5EA;
--color-surface: #FFFDF9;
--color-border: #E4DCCE;
--color-text: #1E1A16;
--color-muted: #726D68;
--color-primary: #BF8100;
--color-on-primary: #1E1A16;
--color-accent: #1F4F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1E1A16;
--color-surface: #292520;
--color-border: #403933;
--color-text: #FBF5EA;
--color-muted: #969086;
--color-primary: #C98A14;
--color-on-primary: #1E1A16;
--color-accent: #487785;
--color-on-accent: #FFFFFF;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C98A14 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #1F4F5C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.93:1 | AAA pass 4.5:1 | |
| Text on surface | 17.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.72:1 | AA pass 4.5:1 | |
| Label on primary | 5.23:1 | AA pass 4.5:1 | |
| Label on accent | 9.01:1 | AAA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 8.30:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.93:1 | AAA pass 4.5:1 | |
| Text on surface | 14.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 4.94:1 | AA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA pass 3:1 | |
| Accent on background | 3.50:1 | AA Large 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 | #FBF5EA (Text 1) | #C98A14 (Text 2) | #1F4F5C (Text 3) | #EFE2C6 (Text 4) | #1E1A16 (Text 5) |
|---|---|---|---|---|---|
| #FBF5EA | Same color | 2.71— | 8.30AAA | 1.18— | 15.93AAA |
| #C98A14 | 2.71— | Same color | 3.06AA Large | 2.30— | 5.87AA |
| #1F4F5C | 8.30AAA | 3.06AA Large | Same color | 7.02AAA | 1.92— |
| #EFE2C6 | 1.18— | 2.30— | 7.02AAA | Same color | 13.47AAA |
| #1E1A16 | 15.93AAA | 5.87AA | 1.92— | 13.47AAA | Same color |
Shades
Shades and tints (50–950)
