PreviewingGo to this paletteOpen in generator
Code
/* Clay Brown — colorset.net */
:root {
--color-1: #A0522D;
--color-2: #B8764F;
--color-3: #D09A71;
--color-4: #E8BE93;
--color-5: #FFE2B5;
--color-bg: #FEF6E8;
--color-surface: #F5ECDF;
--color-border: #DED3C3;
--color-text: #763D22;
--color-muted: #7F6458;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #9E8359;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140B;
--color-border: #3F271D;
--color-text: #F9E3C2;
--color-muted: #908068;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #E8BE93;
--color-on-accent: #1C0A04;
}
}
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 #FFE2B5 | adjusted for contrast · from #A0522D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A0522D | adjusted for contrast · from #FFE2B5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8764F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.95:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 5.23:1 | AA pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.34:1 | AAA pass 4.5:1 | |
| Text on surface | 14.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 11.16:1 | AAA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 11.16: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 | #A0522D (Text 1) | #B8764F (Text 2) | #D09A71 (Text 3) | #E8BE93 (Text 4) | #FFE2B5 (Text 5) |
|---|---|---|---|---|---|
| #A0522D | Same color | 1.54— | 2.28— | 3.27AA Large | 4.49AA Large |
| #B8764F | 1.54— | Same color | 1.49— | 2.13— | 2.93— |
| #D09A71 | 2.28— | 1.49— | Same color | 1.43— | 1.97— |
| #E8BE93 | 3.27AA Large | 2.13— | 1.43— | Same color | 1.37— |
| #FFE2B5 | 4.49AA Large | 2.93— | 1.97— | 1.37— | Same color |
Shades
Shades and tints (50–950)
