PreviewingGo to this paletteOpen in generator
Code
/* Brown Tone — colorset.net */
:root {
--color-1: #654321;
--color-2: #8B7355;
--color-3: #A0826D;
--color-4: #BC9A6A;
--color-5: #D2B48C;
--color-bg: #FFF5E9;
--color-surface: #F5ECE0;
--color-border: #DFD3C4;
--color-text: #654321;
--color-muted: #7D6754;
--color-primary: #8B7355;
--color-on-primary: #000000;
--color-accent: #A38252;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D04;
--color-surface: #22170C;
--color-border: #392A1D;
--color-text: #CDB596;
--color-muted: #917F68;
--color-primary: #8B7355;
--color-on-primary: #000000;
--color-accent: #BC9A6A;
--color-on-accent: #180D04;
}
}
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 #654321 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #D2B48C |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0826D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.20:1 | AAA pass 4.5:1 | |
| Text on surface | 7.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.69:1 | AAA pass 4.5:1 | |
| Text on surface | 8.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 7.26:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 7.26: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 | #654321 (Text 1) | #8B7355 (Text 2) | #A0826D (Text 3) | #BC9A6A (Text 4) | #D2B48C (Text 5) |
|---|---|---|---|---|---|
| #654321 | Same color | 1.97— | 2.48— | 3.35AA Large | 4.48AA Large |
| #8B7355 | 1.97— | Same color | 1.26— | 1.70— | 2.27— |
| #A0826D | 2.48— | 1.26— | Same color | 1.35— | 1.80— |
| #BC9A6A | 3.35AA Large | 1.70— | 1.35— | Same color | 1.34— |
| #D2B48C | 4.48AA Large | 2.27— | 1.80— | 1.34— | Same color |
Shades
Shades and tints (50–950)
