Clear heading Body text with a link in it. Button Muted note
Black Ice
True black Text contrast AAA 16.2:1
New: 177 themes, each one tested for readable contrast. Browse them
High contrast · Dark theme
Yellow text on black with pale cyan links, a long-standing high-contrast pairing that is best on OLED screens.
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 Yellow on Black's ten colours. Compare it live with the other themes.
Body text is #fde445 on #000000, a
contrast of 16.4:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 14.2:1 and muted text at 9.5:1 against the background. The perceptual lightness gap between text and background is 0.91 on a scale from 0 to 1.
Use Yellow on 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.
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #000000 | The page behind everything | |
| Surface | #000000 | Cards, panels and raised areas | |
| Text | #fde445 | Body text and headings | |
| Muted text | #c1af41 | Captions and secondary text | |
| Link | #7ce3f7 | Links you have not opened | |
| Visited link | #bda7e6 | Links you have opened | |
| Accent | #ffffff | Buttons and highlights | |
| Border | #534e2d | Lines and outlines | |
| Selection | #574e0e | Behind text you select | |
| Scrollbar | #3d3a20 | The scrollbar thumb |
/* Yellow on Black — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #000000;
--dma-surface: #000000;
--dma-text: #fde445;
--dma-muted: #c1af41;
--dma-link: #7ce3f7;
--dma-visited: #bda7e6;
--dma-accent: #ffffff;
--dma-border: #534e2d;
--dma-selection: #574e0e;
--dma-scrollbar: #3d3a20;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 16.4:1 | AAA |
| Text on panels text on surface | 16.4:1 | AAA |
| Muted text muted on background | 9.5:1 | AAA |
| Links link on background | 14.2:1 | AAA |
| Visited links visited on background | 9.8:1 | AAA |
| Accent accent on background | 21.0: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.
Yellow on Black belongs to the High contrast family: the brightest text on the darkest backgrounds, with strongly marked links.
Yellow on Black is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.
The closest themes to Yellow on Black by background, text and link colour.