PreviewingGo to this paletteOpen in generator
Code
/* Ash Brown — colorset.net */
:root {
--color-1: #554D42;
--color-2: #6F675A;
--color-3: #8B8073;
--color-4: #A7998C;
--color-5: #C3B5A8;
--color-bg: #FAF6F2;
--color-surface: #F1EDE8;
--color-border: #DBD3CD;
--color-text: #554D42;
--color-muted: #72695E;
--color-primary: #8B8073;
--color-on-primary: #000000;
--color-accent: #6F675A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0B;
--color-surface: #1C1915;
--color-border: #322D27;
--color-text: #C3B5A8;
--color-muted: #8C7F73;
--color-primary: #8B8073;
--color-on-primary: #120F0B;
--color-accent: #6E665B;
--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 #C3B5A8 | adjusted for contrast · from #554D42 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6F675A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.43:1 | AA pass 4.5:1 | |
| Label on accent | 5.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 5.19:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.55:1 | AAA pass 4.5:1 | |
| Text on surface | 8.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.94:1 | AA pass 4.5:1 | |
| Label on accent | 5.65:1 | AA pass 4.5:1 | |
| Primary on background | 4.94:1 | AA pass 3:1 | |
| Accent on background | 3.38: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 | #554D42 (Text 1) | #6F675A (Text 2) | #8B8073 (Text 3) | #A7998C (Text 4) | #C3B5A8 (Text 5) |
|---|---|---|---|---|---|
| #554D42 | Same color | 1.49— | 2.15— | 3.00AA Large | 4.15AA Large |
| #6F675A | 1.49— | Same color | 1.44— | 2.01— | 2.79— |
| #8B8073 | 2.15— | 1.44— | Same color | 1.39— | 1.93— |
| #A7998C | 3.00AA Large | 2.01— | 1.39— | Same color | 1.38— |
| #C3B5A8 | 4.15AA Large | 2.79— | 1.93— | 1.38— | Same color |
Shades
Shades and tints (50–950)
