PreviewingGo to this paletteOpen in generator
Code
/* Tan Suede — colorset.net */
:root {
--color-1: #9F8170;
--color-2: #B89778;
--color-3: #D2B48C;
--color-4: #DEB887;
--color-5: #F5DEB3;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #634838;
--color-muted: #7E6556;
--color-primary: #9F8170;
--color-on-primary: #000000;
--color-accent: #695144;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160D08;
--color-surface: #201712;
--color-border: #372B23;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #9F8170;
--color-on-primary: #160D08;
--color-accent: #DEB887;
--color-on-accent: #160D08;
}
}
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 #F5DEB3 | adjusted for contrast · from #9F8170 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9F8170 | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9F8170 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 7.34:1 | AAA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 6.83:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.63:1 | AAA pass 4.5:1 | |
| Text on surface | 13.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.34:1 | AA pass 4.5:1 | |
| Label on accent | 10.33:1 | AAA pass 4.5:1 | |
| Primary on background | 5.34:1 | AA pass 3:1 | |
| Accent on background | 10.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 | #9F8170 (Text 1) | #B89778 (Text 2) | #D2B48C (Text 3) | #DEB887 (Text 4) | #F5DEB3 (Text 5) |
|---|---|---|---|---|---|
| #9F8170 | Same color | 1.32— | 1.82— | 1.93— | 2.73— |
| #B89778 | 1.32— | Same color | 1.38— | 1.46— | 2.07— |
| #D2B48C | 1.82— | 1.38— | Same color | 1.06— | 1.50— |
| #DEB887 | 1.93— | 1.46— | 1.06— | Same color | 1.41— |
| #F5DEB3 | 2.73— | 2.07— | 1.50— | 1.41— | Same color |
Shades
Shades and tints (50–950)
