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

Warm and sepia · Dark theme

Cocoa

Dark chocolate brown with pinkish-cream text, dusty pink links and a caramel accent.

Warm and sepia Dark theme Text contrast AAA 13.9: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 Cocoa's ten colours. Compare it live with the other themes.

Contrast in plain words

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

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

Use Cocoa 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 Cocoa theme
Colour Hex Used for Copy
Background #23100a The page behind everything
Surface #321c16 Cards, panels and raised areas
Text #f3dcd1 Body text and headings
Muted text #aa9489 Captions and secondary text
Link #f1a6b3 Links you have not opened
Visited link #ae98ca Links you have opened
Accent #e7a468 Buttons and highlights
Border #4d352d Lines and outlines
Selection #643941 Behind text you select
Scrollbar #452d26 The scrollbar thumb

CSS variables

cocoa.css
/* Cocoa — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #23100a;
  --dma-surface: #321c16;
  --dma-text: #f3dcd1;
  --dma-muted: #aa9489;
  --dma-link: #f1a6b3;
  --dma-visited: #ae98ca;
  --dma-accent: #e7a468;
  --dma-border: #4d352d;
  --dma-selection: #643941;
  --dma-scrollbar: #452d26;
}

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

Contrast figures

Contrast ratios for the Cocoa theme
Pair Ratio WCAG
Body text text on background 13.9:1 AAA
Text on panels text on surface 12.2:1 AAA
Muted text muted on background 6.4:1 AA
Links link on background 9.4:1 AAA
Visited links visited on background 7.1:1 AAA
Accent accent on background 8.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

Cocoa belongs to the Warm and sepia family: brown and amber backgrounds with cream text.

Not part of a purpose collection. Browse its family.

Credit

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

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