PreviewingGo to this paletteOpen in generator
Code
/* Charcoal Brief — colorset.net */
:root {
--color-1: #1A1816;
--color-2: #C1BDB7;
--color-3: #839C6B;
--color-4: #504C49;
--color-5: #F1EEE9;
--color-bg: #F1EEE9;
--color-surface: #F7F5F2;
--color-border: #DAD5CD;
--color-text: #1A1816;
--color-muted: #6B6966;
--color-primary: #77905F;
--color-on-primary: #1A1816;
--color-accent: #8B8984;
--color-on-accent: #1A1816;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1816;
--color-surface: #252220;
--color-border: #3C3733;
--color-text: #F1EEE9;
--color-muted: #8E8C87;
--color-primary: #839C6B;
--color-on-primary: #1A1816;
--color-accent: #716E6C;
--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 #839C6B | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #839C6B | adjusted for contrast · from #504C49 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.30:1 | AAA pass 4.5:1 | |
| Text on surface | 16.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.73:1 | AA pass 4.5:1 | |
| Label on primary | 5.01:1 | AA pass 4.5:1 | |
| Label on accent | 5.07:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.30:1 | AAA pass 4.5:1 | |
| Text on surface | 13.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 5.84:1 | AA pass 4.5:1 | |
| Label on accent | 5.06:1 | AA pass 4.5:1 | |
| Primary on background | 5.84:1 | AA pass 3:1 | |
| Accent on background | 3.50: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 | #1A1816 (Text 1) | #C1BDB7 (Text 2) | #839C6B (Text 3) | #504C49 (Text 4) | #F1EEE9 (Text 5) |
|---|---|---|---|---|---|
| #1A1816 | Same color | 9.47AAA | 5.84AA | 2.08— | 15.30AAA |
| #C1BDB7 | 9.47AAA | Same color | 1.62— | 4.54AA | 1.62— |
| #839C6B | 5.84AA | 1.62— | Same color | 2.81— | 2.62— |
| #504C49 | 2.08— | 4.54AA | 2.81— | Same color | 7.34AAA |
| #F1EEE9 | 15.30AAA | 1.62— | 2.62— | 7.34AAA | Same color |
Shades
Shades and tints (50–950)
