PreviewingGo to this paletteOpen in generator
Code
/* Dark Brown — colorset.net */
:root {
--color-1: #3E2723;
--color-2: #4E342E;
--color-3: #5D4037;
--color-4: #6D4C41;
--color-5: #795548;
--color-bg: #FFF4F0;
--color-surface: #F7EAE6;
--color-border: #E2D1CB;
--color-text: #3E2723;
--color-muted: #806561;
--color-primary: #795548;
--color-on-primary: #FFFFFF;
--color-accent: #4E342E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150D0C;
--color-surface: #201715;
--color-border: #372A28;
--color-text: #C29C8E;
--color-muted: #9A7C72;
--color-primary: #825D50;
--color-on-primary: #FFFFFF;
--color-accent: #B39185;
--color-on-accent: #150D0C;
}
}
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 #795548 | adjusted for contrast · from #3E2723 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #795548 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #795548 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #795548 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.80:1 | AAA pass 4.5:1 | |
| Text on surface | 11.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.55:1 | AA pass 4.5:1 | |
| Label on accent | 11.32:1 | AAA pass 4.5:1 | |
| Primary on background | 6.07:1 | AA pass 3:1 | |
| Accent on background | 10.49:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 6.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.67:1 | AA 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 | #3E2723 (Text 1) | #4E342E (Text 2) | #5D4037 (Text 3) | #6D4C41 (Text 4) | #795548 (Text 5) |
|---|---|---|---|---|---|
| #3E2723 | Same color | 1.22— | 1.48— | 1.82— | 2.11— |
| #4E342E | 1.22— | Same color | 1.22— | 1.49— | 1.73— |
| #5D4037 | 1.48— | 1.22— | Same color | 1.22— | 1.42— |
| #6D4C41 | 1.82— | 1.49— | 1.22— | Same color | 1.16— |
| #795548 | 2.11— | 1.73— | 1.42— | 1.16— | Same color |
Shades
Shades and tints (50–950)
