PreviewingGo to this paletteOpen in generator
Code
/* Tweed Jacket — colorset.net */
:root {
--color-1: #EFE8DC;
--color-2: #7A5C3E;
--color-3: #4A5D73;
--color-4: #D6CBB8;
--color-5: #26211C;
--color-bg: #EFE8DC;
--color-surface: #F4F0E8;
--color-border: #D8CFC0;
--color-text: #26211C;
--color-muted: #6D6761;
--color-primary: #7A5C3E;
--color-on-primary: #FFFFFF;
--color-accent: #4A5D73;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #26211C;
--color-surface: #312C27;
--color-border: #494139;
--color-text: #EFE8DC;
--color-muted: #9A9388;
--color-primary: #8F7052;
--color-on-primary: #FFFFFF;
--color-accent: #667A91;
--color-on-accent: #000000;
}
}
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 | from palette · color 2 | adjusted for contrast · from #7A5C3E |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #4A5D73 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.10:1 | AAA pass 4.5:1 | |
| Text on surface | 14.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.13:1 | AA pass 4.5:1 | |
| Label on accent | 6.76:1 | AA pass 4.5:1 | |
| Primary on background | 5.03:1 | AA pass 3:1 | |
| Accent on background | 5.56:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.10:1 | AAA pass 4.5:1 | |
| Text on surface | 11.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.50:1 | AA Large pass 3:1 | |
| Accent on background | 3.61: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 | #EFE8DC (Text 1) | #7A5C3E (Text 2) | #4A5D73 (Text 3) | #D6CBB8 (Text 4) | #26211C (Text 5) |
|---|---|---|---|---|---|
| #EFE8DC | Same color | 5.03AA | 5.56AA | 1.32— | 13.10AAA |
| #7A5C3E | 5.03AA | Same color | 1.10— | 3.82AA Large | 2.60— |
| #4A5D73 | 5.56AA | 1.10— | Same color | 4.22AA Large | 2.36— |
| #D6CBB8 | 1.32— | 3.82AA Large | 4.22AA Large | Same color | 9.94AAA |
| #26211C | 13.10AAA | 2.60— | 2.36— | 9.94AAA | Same color |
Shades
Shades and tints (50–950)
