New: 177 themes, each one tested for readable contrast. Browse them

High contrast · Dark theme

White on Charcoal

White text on dark grey with deeper mint links that stand apart from the text, and a pink accent.

High contrast Dark theme Text contrast AAA 17.4:1

Preview

fieldnotes.example/tide-pools

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.

PoolDepthSeen
North ledge12 cmAnemone, limpets
Split rock30 cmShore crab
Read more Save Muted caption text

A sample page in White on Charcoal's ten colours. Compare it live with the other themes.

Contrast in plain words

Body text is #ffffff on #1a1a1a, a contrast of 17.4:1. That passes the stricter WCAG AAA level for body text (7:1).

Links come out at 5.7:1 and muted text at 7.8:1 against the background. The perceptual lightness gap between text and background is 0.78 on a scale from 0 to 1.

Use White on 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

The ten colours of the White on Charcoal theme
Colour Hex Used for Copy
Background #1a1a1a The page behind everything
Surface #262626 Cards, panels and raised areas
Text #ffffff Body text and headings
Muted text #aeaeae Captions and secondary text
Link #48a480 Links you have not opened
Visited link #61bcde Links you have opened
Accent #ffb0ed Buttons and highlights
Border #404040 Lines and outlines
Selection #1f533f Behind text you select
Scrollbar #383838 The scrollbar thumb

CSS variables

white-on-charcoal.css
/* White on Charcoal — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #1a1a1a;
  --dma-surface: #262626;
  --dma-text: #ffffff;
  --dma-muted: #aeaeae;
  --dma-link: #48a480;
  --dma-visited: #61bcde;
  --dma-accent: #ffb0ed;
  --dma-border: #404040;
  --dma-selection: #1f533f;
  --dma-scrollbar: #383838;
}

Paste the block into your own stylesheet to use these colours, for example background: var(--dma-background).

Contrast figures

Contrast ratios for the White on Charcoal theme
Pair Ratio WCAG
Body text text on background 17.4:1 AAA
Text on panels text on surface 15.1:1 AAA
Muted text muted on background 7.8:1 AAA
Links link on background 5.7:1 AA
Visited links visited on background 8.1:1 AAA
Accent accent on background 10.5: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

White on Charcoal belongs to the High contrast family: the brightest text on the darkest backgrounds, with strongly marked links.

  • Maximum contrast The strongest text contrast in the catalogue: white or near-white on black or near-black, with clearly marked links and controls.
  • Colour-blind safe Links differ from body text in lightness, not only in hue, and stay distinguishable in simulations of the three main types of colour-vision deficiency.

Credit

White on Charcoal is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.

White on Charcoal as its card appears in the extension's gallery
The card for this theme in the extension's gallery.

Similar themes

The closest themes to White on Charcoal by background, text and link colour.