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

High contrast · Dark theme

White on Soft Black

Near-white text on a near-black grey with pale blue links and an amber accent.

High contrast Dark theme Text contrast AAA 17.2: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 Soft Black's ten colours. Compare it live with the other themes.

Contrast in plain words

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

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

Use White on Soft Black 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 Soft Black theme
Colour Hex Used for Copy
Background #121212 The page behind everything
Surface #1f1f1f Cards, panels and raised areas
Text #f5f5f5 Body text and headings
Muted text #bdbdbd Captions and secondary text
Link #9cc8ff Links you have not opened
Visited link #b59ed1 Links you have opened
Accent #ffcc66 Buttons and highlights
Border #5e5e5e Lines and outlines
Selection #1d4f91 Behind text you select
Scrollbar #4a4a4a The scrollbar thumb

CSS variables

white-on-soft-black.css
/* White on Soft Black — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #121212;
  --dma-surface: #1f1f1f;
  --dma-text: #f5f5f5;
  --dma-muted: #bdbdbd;
  --dma-link: #9cc8ff;
  --dma-visited: #b59ed1;
  --dma-accent: #ffcc66;
  --dma-border: #5e5e5e;
  --dma-selection: #1d4f91;
  --dma-scrollbar: #4a4a4a;
}

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 Soft Black theme
Pair Ratio WCAG
Body text text on background 17.2:1 AAA
Text on panels text on surface 15.1:1 AAA
Muted text muted on background 10.0:1 AAA
Links link on background 10.8:1 AAA
Visited links visited on background 7.8:1 AAA
Accent accent on background 12.6: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 Soft Black 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.
  • High contrast and low vision The strongest text contrast, with links and buttons that stand out clearly, including yellow on black. Some people with low vision prefer these.

Credit

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

White on Soft Black 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 Soft Black by background, text and link colour.