PreviewingGo to this paletteOpen in generator
Code
/* Painted Hills — colorset.net */
:root {
--color-1: #F7EDE4;
--color-2: #C46B4F;
--color-3: #8C9A5B;
--color-4: #EBD1BE;
--color-5: #2C2420;
--color-bg: #F7EDE4;
--color-surface: #FBF5F0;
--color-border: #E1D4C8;
--color-text: #2C2420;
--color-muted: #726863;
--color-primary: #B35C40;
--color-on-primary: #FFFFFF;
--color-accent: #6F7C3E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0D;
--color-surface: #1C1917;
--color-border: #332C29;
--color-text: #F7EDE4;
--color-muted: #8E857D;
--color-primary: #B35C40;
--color-on-primary: #FFFFFF;
--color-accent: #8C9A5B;
--color-on-accent: #120F0D;
}
}
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 #2C2420 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C46B4F | adjusted for contrast · from #C46B4F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8C9A5B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.18:1 | AAA pass 4.5:1 | |
| Text on surface | 14.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.93:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.54:1 | AAA pass 4.5:1 | |
| Text on surface | 15.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.26:1 | AA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 6.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 | #F7EDE4 (Text 1) | #C46B4F (Text 2) | #8C9A5B (Text 3) | #EBD1BE (Text 4) | #2C2420 (Text 5) |
|---|---|---|---|---|---|
| #F7EDE4 | Same color | 3.27AA Large | 2.64— | 1.26— | 13.18AAA |
| #C46B4F | 3.27AA Large | Same color | 1.24— | 2.59— | 4.03AA Large |
| #8C9A5B | 2.64— | 1.24— | Same color | 2.09— | 4.99AA |
| #EBD1BE | 1.26— | 2.59— | 2.09— | Same color | 10.43AAA |
| #2C2420 | 13.18AAA | 4.03AA Large | 4.99AA | 10.43AAA | Same color |
Shades
Shades and tints (50–950)
