PreviewingGo to this paletteOpen in generator
Code
/* Saffron House — colorset.net */
:root {
--color-1: #FBF4E6;
--color-2: #F2A618;
--color-3: #428252;
--color-4: #D16022;
--color-5: #2C1E13;
--color-bg: #FBF4E6;
--color-surface: #FFFCF5;
--color-border: #E4DBCA;
--color-text: #2C1E13;
--color-muted: #7C6B5E;
--color-primary: #C3530E;
--color-on-primary: #FFFFFF;
--color-accent: #428252;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2C1E13;
--color-surface: #38291E;
--color-border: #503E30;
--color-text: #FBF4E6;
--color-muted: #9A9387;
--color-primary: #C3530E;
--color-on-primary: #FFFFFF;
--color-accent: #428252;
--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 #D16022 | adjusted for contrast · from #D16022 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.73:1 | AAA pass 4.5:1 | |
| Text on surface | 15.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.73:1 | AAA pass 4.5:1 | |
| Text on surface | 12.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.50:1 | AA Large pass 3:1 | |
| Accent on background | 3.49: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 | #FBF4E6 (Text 1) | #F2A618 (Text 2) | #428252 (Text 3) | #D16022 (Text 4) | #2C1E13 (Text 5) |
|---|---|---|---|---|---|
| #FBF4E6 | Same color | 1.87— | 4.22AA Large | 3.55AA Large | 14.73AAA |
| #F2A618 | 1.87— | Same color | 2.25— | 1.89— | 7.87AAA |
| #428252 | 4.22AA Large | 2.25— | Same color | 1.19— | 3.49AA Large |
| #D16022 | 3.55AA Large | 1.89— | 1.19— | Same color | 4.15AA Large |
| #2C1E13 | 14.73AAA | 7.87AAA | 3.49AA Large | 4.15AA Large | Same color |
Shades
Shades and tints (50–950)
