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

Developer classics · Dark theme

Night Amber

Blue-black with grey-cream text, bright sky-blue links and an amber accent.

Developer classics Dark theme Text contrast AAA 12.1: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 Night Amber's ten colours. Compare it live with the other themes.

Contrast in plain words

Body text is #d0cec7 on #0d1017, a contrast of 12.1:1. That passes the stricter WCAG AAA level for body text (7:1).

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

Use Night Amber 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 Night Amber theme
Colour Hex Used for Copy
Background #0d1017 The page behind everything
Surface #161a24 Cards, panels and raised areas
Text #d0cec7 Body text and headings
Muted text #828ba0 Captions and secondary text
Link #59c2ff Links you have not opened
Visited link #dbbafe Links you have opened
Accent #e6b450 Buttons and highlights
Border #2f3544 Lines and outlines
Selection #193155 Behind text you select
Scrollbar #272d3a The scrollbar thumb

CSS variables

night-amber.css
/* Night Amber — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #0d1017;
  --dma-surface: #161a24;
  --dma-text: #d0cec7;
  --dma-muted: #828ba0;
  --dma-link: #59c2ff;
  --dma-visited: #dbbafe;
  --dma-accent: #e6b450;
  --dma-border: #2f3544;
  --dma-selection: #193155;
  --dma-scrollbar: #272d3a;
}

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

Contrast figures

Contrast ratios for the Night Amber theme
Pair Ratio WCAG
Body text text on background 12.1:1 AAA
Text on panels text on surface 11.0:1 AAA
Muted text muted on background 5.6:1 AA
Links link on background 9.6:1 AAA
Visited links visited on background 11.3:1 AAA
Accent accent on background 10.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.

Family and collections

Night Amber 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 Night Amber are inspired by the open-source palette ayu dark by Konstantin Pschera , published under the MIT licence. The name, the adjustments and the contrast checks are ours.

Full licence notices

Night Amber 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 Night Amber by background, text and link colour.