PreviewingGo to this paletteOpen in generator
Code
/* Cashmere — colorset.net */
:root {
--color-1: #F5EFE8;
--color-2: #A08066;
--color-3: #4E6A8A;
--color-4: #E3D8CC;
--color-5: #2A2522;
--color-bg: #F5EFE8;
--color-surface: #FAF7F2;
--color-border: #DED6CC;
--color-text: #2A2522;
--color-muted: #726C69;
--color-primary: #4E6A8A;
--color-on-primary: #FFFFFF;
--color-accent: #A08066;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0E;
--color-surface: #1B1918;
--color-border: #322D2A;
--color-text: #F5EFE8;
--color-muted: #8C8780;
--color-primary: #4E6A8A;
--color-on-primary: #FFFFFF;
--color-accent: #A08066;
--color-on-accent: #110F0E;
}
}
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 | from palette · color 1 | adjusted for contrast · from #2A2522 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.27:1 | AAA pass 4.5:1 | |
| Text on surface | 14.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.90:1 | AA pass 3:1 | |
| Accent on background | 3.19:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.74:1 | AAA pass 4.5:1 | |
| Text on surface | 15.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.26:1 | AA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 5.26: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 | #F5EFE8 (Text 1) | #A08066 (Text 2) | #4E6A8A (Text 3) | #E3D8CC (Text 4) | #2A2522 (Text 5) |
|---|---|---|---|---|---|
| #F5EFE8 | Same color | 3.19AA Large | 4.90AA | 1.23— | 13.27AAA |
| #A08066 | 3.19AA Large | Same color | 1.54— | 2.59— | 4.17AA Large |
| #4E6A8A | 4.90AA | 1.54— | Same color | 3.99AA Large | 2.71— |
| #E3D8CC | 1.23— | 2.59— | 3.99AA Large | Same color | 10.79AAA |
| #2A2522 | 13.27AAA | 4.17AA Large | 2.71— | 10.79AAA | Same color |
Shades
Shades and tints (50–950)
