Soft charcoal · Dark theme
Soft Coal
Warm dark grey with toned-down text and muted blue links.
Preview
Field notes · 4 minute read
How tide pools keep their colour
At low tide the rock holds small pools of sea water. Each one is a link you have not opened, and beside it one you already have. A value such as depth: 12cm sits in a code chip.
A good theme keeps a quote readable without making it shout.
| Pool | Depth | Seen |
|---|---|---|
| North ledge | 12 cm | Anemone, limpets |
| Split rock | 30 cm | Shore crab |
A sample page in Soft Coal's ten colours. Compare it live with the other themes.
Contrast in plain words
Body text is #d9d5d0 on #1d1b1a, a
contrast of 11.8:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 8.1:1 and muted text at 5.7:1 against the background. The perceptual lightness gap between text and background is 0.65 on a scale from 0 to 1.
Use Soft Coal on the sites you open.
Free in Dark Mode Alpha, along with every other theme. Give it to one site or to all of them.
Palette
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #1d1b1a | The page behind everything | |
| Surface | #292726 | Cards, panels and raised areas | |
| Text | #d9d5d0 | Body text and headings | |
| Muted text | #97948f | Captions and secondary text | |
| Link | #85b6e9 | Links you have not opened | |
| Visited link | #a28bbd | Links you have opened | |
| Accent | #d0a260 | Buttons and highlights | |
| Border | #434240 | Lines and outlines | |
| Selection | #304a64 | Behind text you select | |
| Scrollbar | #3b3a38 | The scrollbar thumb |
CSS variables
/* Soft Coal — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #1d1b1a;
--dma-surface: #292726;
--dma-text: #d9d5d0;
--dma-muted: #97948f;
--dma-link: #85b6e9;
--dma-visited: #a28bbd;
--dma-accent: #d0a260;
--dma-border: #434240;
--dma-selection: #304a64;
--dma-scrollbar: #3b3a38;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
Contrast figures
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 11.8:1 | AAA |
| Text on panels text on surface | 10.2:1 | AAA |
| Muted text muted on background | 5.7:1 | AA |
| Links link on background | 8.1:1 | AAA |
| Visited links visited on background | 5.7:1 | AA |
| Accent accent on background | 7.4:1 | AAA |
AAA means at least 7:1, AA at least 4.5:1, and "AA large" at least 3:1, which is enough for large text and interface parts but not for body text.
Family and collections
Soft Coal belongs to the Soft charcoal family: dark greys instead of black, with off-white text.
- Softer contrast Off-white text on a lifted dark background, never pure white on pure black. Some people prefer text that is less stark.
- Evening and dim rooms Dark grey and slate pages with off-white text, never pure black or pure white. Some people find off-white on grey easier to read than white on black.
Credit
Soft Coal is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.
Similar themes
The closest themes to Soft Coal by background, text and link colour.