PreviewingGo to this paletteOpen in generator
Code
/* Brown Dark — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #A0522D;
--color-3: #654321;
--color-4: #2F1B14;
--color-5: #000000;
--color-bg: #FFF4F0;
--color-surface: #FAEAE3;
--color-border: #E4D0C8;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #2F1B14;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #B28E7E;
--color-muted: #8D7165;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #5B5B5B;
--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 #A0522D | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #A0522D |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #654321 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.45:1 | AAA pass 4.5:1 | |
| Text on surface | 17.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.21:1 | AAA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 16.31:1 | AAA pass 4.5:1 | |
| Primary on background | 5.20:1 | AA pass 3:1 | |
| Accent on background | 15.10:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.06:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 3.09: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 | #8B4513 (Text 1) | #A0522D (Text 2) | #654321 (Text 3) | #2F1B14 (Text 4) | #000000 (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 1.26— | 1.24— | 2.30— | 2.96— |
| #A0522D | 1.26— | Same color | 1.57— | 2.90— | 3.74AA Large |
| #654321 | 1.24— | 1.57— | Same color | 1.85— | 2.38— |
| #2F1B14 | 2.30— | 2.90— | 1.85— | Same color | 1.29— |
| #000000 | 2.96— | 3.74AA Large | 2.38— | 1.29— | Same color |
Shades
Shades and tints (50–950)
