The Reading Room
Bring your own component. Paste markup, stand it on any of the archive’s 32 catalogued substrates, embody a movement, and read the APCA delta between two materials — the question a fixed-asset preview cannot answer.
Further reading
Questions & notes
A closer look at the ideas, materials and methods behind the work.
Perceptual lightness invariance, dark mode halation physics, and wide P3 gamut token architecture.
2 questionsHSL calculates lightness as a purely mathematical average of RGB primaries rather than human photoreceptor sensitivity. As a result, pure yellow at 50% HSL lightness appears nearly 9 times brighter to the human eye than pure blue at 50% lightness, causing severe contrast ratio failures during light/dark mode inversions.
Related questions
OKLCH separates Lightness (L), Chroma (C), and Hue (H) in the perceptual color space developed by Björn Ottosson. A shared L value aims for approximately equivalent perceptual lightness across hues, but surrounding contrast, gamut limits, typography and viewing conditions still affect what people see.
Related questions
Tailwind CSS v4 natively supports OKLCH in the new @theme block without requiring color utility plugins. Define the base variable with an OKLCH formula, and Tailwind automatically maps it to utilities with alpha opacity modifiers.
@theme {
--color-primary-accent: oklch(0.724 0.122 85.099104);
--color-surface-obsidian: oklch(0.124 0.012 265.114111);
}Pure #000000 backgrounds create an extreme 21:1 contrast disparity against pure white text, causing the iris to dilate while photoreceptors struggle to focus on sharp edges. This optical phenomenon, known as halation, causes letters to bleed and blur. Chromologium uses deep OKLCH charcoal (oklch(0.124 0.012 265)) to eliminate halation while preserving true contrast.
Unlike the fixed ratio used by WCAG 2.1, APCA considers polarity, font weight, spatial frequency and the non-linear response of human vision. OKLCH lightness can make palette exploration more legible, but APCA still needs to be calculated for the actual text, size and background; no colour space guarantees readable typography by itself.
Modern mobile devices, OLED screens, and Retina displays render the Display P3 color space, which contains 25% more vivid color volume than 1996 sRGB. By defining colors in OKLCH, Chromologium automatically accesses vivid wide-gamut hues on supported screens while gracefully clipping to standard gamut without color shifts.