PreviewingGo to this paletteOpen in generator
Code
/* Cashmere Beige — colorset.net */
:root {
--color-1: #F5DEB3;
--color-2: #DEB887;
--color-3: #D2B48C;
--color-4: #BC9A6A;
--color-5: #A0522D;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #7A3F24;
--color-muted: #81665A;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #9B865E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140B;
--color-border: #3F271D;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #DEB887;
--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 #F5DEB3 | adjusted for contrast · from #A0522D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A0522D | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BC9A6A | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.97: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 | 14.64:1 | AAA pass 4.5:1 | |
| Text on surface | 13.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 10.33:1 | AAA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 10.33: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 | #F5DEB3 (Text 1) | #DEB887 (Text 2) | #D2B48C (Text 3) | #BC9A6A (Text 4) | #A0522D (Text 5) |
|---|---|---|---|---|---|
| #F5DEB3 | Same color | 1.41— | 1.50— | 2.01— | 4.27AA Large |
| #DEB887 | 1.41— | Same color | 1.06— | 1.42— | 3.02AA Large |
| #D2B48C | 1.50— | 1.06— | Same color | 1.34— | 2.85— |
| #BC9A6A | 2.01— | 1.42— | 1.34— | Same color | 2.13— |
| #A0522D | 4.27AA Large | 3.02AA Large | 2.85— | 2.13— | Same color |
Shades
Shades and tints (50–950)
