PreviewingGo to this paletteOpen in generator
Code
/* Leather Satchel — colorset.net */
:root {
--color-1: #2F2F2F;
--color-2: #696969;
--color-3: #8B4513;
--color-4: #A0522D;
--color-5: #D2B48C;
--color-bg: #FFF5E9;
--color-surface: #F5ECE0;
--color-border: #DFD3C4;
--color-text: #2F2F2F;
--color-muted: #6B6B6B;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #9F835C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #CDB596;
--color-muted: #917F68;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #656565;
--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 | adjusted for contrast · from #D2B48C | adjusted for contrast · from #2F2F2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #D2B48C |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0522D | adjusted for contrast · from #696969 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.43:1 | AAA pass 4.5:1 | |
| Text on surface | 11.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 5.21:1 | AA pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.72:1 | AAA pass 4.5:1 | |
| Text on surface | 8.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 3.29: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 | #2F2F2F (Text 1) | #696969 (Text 2) | #8B4513 (Text 3) | #A0522D (Text 4) | #D2B48C (Text 5) |
|---|---|---|---|---|---|
| #2F2F2F | Same color | 2.44— | 1.89— | 2.38— | 6.79AA |
| #696969 | 2.44— | Same color | 1.29— | 1.02— | 2.78— |
| #8B4513 | 1.89— | 1.29— | Same color | 1.26— | 3.60AA Large |
| #A0522D | 2.38— | 1.02— | 1.26— | Same color | 2.85— |
| #D2B48C | 6.79AA | 2.78— | 3.60AA Large | 2.85— | Same color |
Shades
Shades and tints (50–950)
