PreviewingGo to this paletteOpen in generator
Code
/* Cliff Dwelling — colorset.net */
:root {
--color-1: #F4EBDF;
--color-2: #9E5A3C;
--color-3: #3D6178;
--color-4: #E2CDB5;
--color-5: #241D19;
--color-bg: #F4EBDF;
--color-surface: #F8F3EC;
--color-border: #DDD2C3;
--color-text: #241D19;
--color-muted: #716863;
--color-primary: #9E5A3C;
--color-on-primary: #FFFFFF;
--color-accent: #3D6178;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241D19;
--color-surface: #2F2824;
--color-border: #473D36;
--color-text: #F4EBDF;
--color-muted: #989085;
--color-primary: #A86345;
--color-on-primary: #FFFFFF;
--color-accent: #537890;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #9E5A3C |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3D6178 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.07:1 | AAA pass 4.5:1 | |
| Text on surface | 15.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 5.27:1 | AA pass 4.5:1 | |
| Label on accent | 6.60:1 | AA pass 4.5:1 | |
| Primary on background | 4.47:1 | AA Large pass 3:1 | |
| Accent on background | 5.60:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.07:1 | AAA pass 4.5:1 | |
| Text on surface | 12.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 3.52:1 | AA Large 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 | #F4EBDF (Text 1) | #9E5A3C (Text 2) | #3D6178 (Text 3) | #E2CDB5 (Text 4) | #241D19 (Text 5) |
|---|---|---|---|---|---|
| #F4EBDF | Same color | 4.47AA Large | 5.60AA | 1.31— | 14.07AAA |
| #9E5A3C | 4.47AA Large | Same color | 1.25— | 3.42AA Large | 3.15AA Large |
| #3D6178 | 5.60AA | 1.25— | Same color | 4.29AA Large | 2.51— |
| #E2CDB5 | 1.31— | 3.42AA Large | 4.29AA Large | Same color | 10.78AAA |
| #241D19 | 14.07AAA | 3.15AA Large | 2.51— | 10.78AAA | Same color |
Shades
Shades and tints (50–950)
