PreviewingGo to this paletteOpen in generator
Code
/* Brown Earth — colorset.net */
:root {
--color-1: #1C1917;
--color-2: #292524;
--color-3: #44403C;
--color-4: #78716C;
--color-5: #A8A29E;
--color-bg: #F8F6F5;
--color-surface: #EFEDEC;
--color-border: #D9D4D0;
--color-text: #1C1917;
--color-muted: #6D6967;
--color-primary: #78716C;
--color-on-primary: #FFFFFF;
--color-accent: #292524;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1917;
--color-surface: #272421;
--color-border: #3E3834;
--color-text: #B5AEAA;
--color-muted: #908B87;
--color-primary: #78716C;
--color-on-primary: #FFFFFF;
--color-accent: #ABA4A0;
--color-on-accent: #1C1917;
}
}
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 #A8A29E | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #A8A29E |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #A8A29E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.23:1 | AAA pass 4.5:1 | |
| Text on surface | 14.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 15.17:1 | AAA pass 4.5:1 | |
| Primary on background | 4.45:1 | AA Large pass 3:1 | |
| Accent on background | 14.08:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.99:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.19:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 7.12:1 | AAA pass 4.5:1 | |
| Primary on background | 3.65:1 | AA Large pass 3:1 | |
| Accent on background | 7.12: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 | #1C1917 (Text 1) | #292524 (Text 2) | #44403C (Text 3) | #78716C (Text 4) | #A8A29E (Text 5) |
|---|---|---|---|---|---|
| #1C1917 | Same color | 1.15— | 1.70— | 3.65AA Large | 6.93AA |
| #292524 | 1.15— | Same color | 1.48— | 3.16AA Large | 6.01AA |
| #44403C | 1.70— | 1.48— | Same color | 2.14— | 4.07AA Large |
| #78716C | 3.65AA Large | 3.16AA Large | 2.14— | Same color | 1.90— |
| #A8A29E | 6.93AA | 6.01AA | 4.07AA Large | 1.90— | Same color |
Shades
Shades and tints (50–950)
