Internal reference
Colour System
A single-hue OKLCH palette with perceptually uniform lightness steps,
deliberate chroma scaling by role, and (in light mode) a hue that rotates
across the lightness axis. Hex values serve as fallbacks for browsers without
oklch() support (~5% of users). On capable displays, the
the most saturated tokens reach into the Display P3 gamut.
Live tokens
Reflects your current OS colour preference.
Both modes
Static — always visible regardless of OS preference.
Dark
Light
How it's composed
Hue rotates across the lightness axis
Light mode: the darkest tokens sit at H 144 (more lime, warmer) and the page background drifts toward H 158 (more teal, cooler). The eye reads this as atmospheric depth — like the colour shift between forest floor and canopy — rather than a mechanical single-hue ramp. Dark mode holds one hue (H 145–150) at very low chroma, so it reads as near-neutral with a trace of green.
Chroma scales by role
In dark mode, backgrounds are almost neutral (C 0.008–0.012), borders a little greener (C 0.015–0.02), and the accent sits at C 0.19. Light mode runs richer throughout (backgrounds C 0.075–0.11, borders C 0.10–0.115, accent C 0.21). In both, this means focal hierarchy is intrinsic to the palette — more saturated elements feel more important without any additional visual treatment. The accent is visually "louder" not because it's bigger or bolder, but because it's more chromatic.
Accent and opposite use the full P3 gamut
The light-mode accent, oklch(0.42 0.210 145), and the dark-mode
opposite red, oklch(0.63 0.220 27), sit at peak chroma, at or beyond
the sRGB boundary. On a Display P3 screen (any Apple device since 2016,
most modern monitors) these render as genuinely fluorescent colours
impossible to reproduce in print or on older screens. No separate
@supports block needed — the browser gamut-maps automatically,
clipping to sRGB on incapable displays.
#1a7a42
oklch(0.42 0.210 145)
#d5150b
oklch(0.63 0.220 27)
Browser cascade
Three layers, each overriding the previous when supported:
:root { --bg: #111411 } Hex — all browsers, ~5% of users stop here @supports (color: oklch(0 0 0)) { --bg: oklch(0.185 0.008 145) } OKLCH — Chrome 111+, Safari 15.4+, Firefox 113+ (~95%) oklch(0.42 0.210 145) → Display P3 gamut Browser gamut-maps OKLCH to widest available gamut automatically