PreviewingGo to this paletteOpen in generator
Code
/* Chalk & Slate — colorset.net */
:root {
--color-1: #171B1F;
--color-2: #80878F;
--color-3: #D0A481;
--color-4: #44484D;
--color-5: #F0EEEB;
--color-bg: #F0EEEB;
--color-surface: #F7F5F4;
--color-border: #D9D5CF;
--color-text: #171B1F;
--color-muted: #666B70;
--color-primary: #A97F5D;
--color-on-primary: #171B1F;
--color-accent: #44484D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #171B1F;
--color-surface: #21262A;
--color-border: #353B42;
--color-text: #F0EEEB;
--color-muted: #8F8D8A;
--color-primary: #D0A481;
--color-on-primary: #171B1F;
--color-accent: #6A6F74;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #80878F | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #80878F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.95:1 | AAA pass 4.5:1 | |
| Text on surface | 15.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 9.21:1 | AAA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 7.95:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.95:1 | AAA pass 4.5:1 | |
| Text on surface | 13.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.23:1 | AA pass 4.5:1 | |
| Label on primary | 7.67:1 | AAA pass 4.5:1 | |
| Label on accent | 5.07:1 | AA pass 4.5:1 | |
| Primary on background | 7.67:1 | AAA pass 3:1 | |
| Accent on background | 3.41: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 | #171B1F (Text 1) | #80878F (Text 2) | #D0A481 (Text 3) | #44484D (Text 4) | #F0EEEB (Text 5) |
|---|---|---|---|---|---|
| #171B1F | Same color | 4.77AA | 7.67AAA | 1.88— | 14.95AAA |
| #80878F | 4.77AA | Same color | 1.61— | 2.54— | 3.14AA Large |
| #D0A481 | 7.67AAA | 1.61— | Same color | 4.08AA Large | 1.95— |
| #44484D | 1.88— | 2.54— | 4.08AA Large | Same color | 7.95AAA |
| #F0EEEB | 14.95AAA | 3.14AA Large | 1.95— | 7.95AAA | Same color |
Shades
Shades and tints (50–950)
