PreviewingGo to this paletteOpen in generator
Code
/* Rich Tan — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #A0522D;
--color-3: #D2B48C;
--color-4: #F5DEB3;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #8F8A61;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #F5DEB3;
--color-on-accent: #1B0A03;
}
}
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 #FFFACD | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0522D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14: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 | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 5.22:1 | AA pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.17:1 | AAA pass 4.5:1 | |
| Text on surface | 16.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 14.64:1 | AAA pass 4.5:1 | |
| Primary on background | 3.43:1 | AA Large pass 3:1 | |
| Accent on background | 14.64: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 | #8B4513 (Text 1) | #A0522D (Text 2) | #D2B48C (Text 3) | #F5DEB3 (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 1.26— | 3.60AA Large | 5.40AA | 6.70AA |
| #A0522D | 1.26— | Same color | 2.85— | 4.27AA Large | 5.30AA |
| #D2B48C | 3.60AA Large | 2.85— | Same color | 1.50— | 1.86— |
| #F5DEB3 | 5.40AA | 4.27AA Large | 1.50— | Same color | 1.24— |
| #FFFACD | 6.70AA | 5.30AA | 1.86— | 1.24— | Same color |
Shades
Shades and tints (50–950)
