Developer classics · Dark theme
Vintage Charcoal
Near-black warm grey with cream text, soft green links and an orange accent, in a retro style.
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 Vintage Charcoal's ten colours. Compare it live with the other themes.
Contrast in plain words
Body text is #ebdbb2 on #1d2021, a
contrast of 12.0:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 7.8:1 and muted text at 5.9:1 against the background. The perceptual lightness gap between text and background is 0.65 on a scale from 0 to 1.
Use Vintage Charcoal 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 | #1d2021 | The page behind everything | |
| Surface | #282828 | Cards, panels and raised areas | |
| Text | #ebdbb2 | Body text and headings | |
| Muted text | #a89984 | Captions and secondary text | |
| Link | #8ec07c | Links you have not opened | |
| Visited link | #cf8297 | Links you have opened | |
| Accent | #fe8019 | Buttons and highlights | |
| Border | #504945 | Lines and outlines | |
| Selection | #665c54 | Behind text you select | |
| Scrollbar | #443f3c | The scrollbar thumb |
CSS variables
/* Vintage Charcoal — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #1d2021;
--dma-surface: #282828;
--dma-text: #ebdbb2;
--dma-muted: #a89984;
--dma-link: #8ec07c;
--dma-visited: #cf8297;
--dma-accent: #fe8019;
--dma-border: #504945;
--dma-selection: #665c54;
--dma-scrollbar: #443f3c;
}
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 | 12.0:1 | AAA |
| Text on panels text on surface | 10.7:1 | AAA |
| Muted text muted on background | 5.9:1 | AA |
| Links link on background | 7.8:1 | AAA |
| Visited links visited on background | 5.7:1 | AA |
| Accent accent on background | 6.5:1 | AA |
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
Vintage Charcoal belongs to the Developer classics family: looks based on well-known open-source editor palettes, adjusted to meet our contrast rules.
- Softer contrast Off-white text on a lifted dark background, never pure white on pure black. Some people prefer text that is less stark.
Credit and licence
The colours of Vintage Charcoal are inspired by the open-source palette gruvbox dark (hard) by Pavel Pertsev (morhetz) , published under the MIT licence. The name, the adjustments and the contrast checks are ours.
Similar themes
The closest themes to Vintage Charcoal by background, text and link colour.