OKLCH
A colour space, used in CSS as oklch(), that describes colours by perceived lightness, chroma (colourfulness) and hue angle.
In more detail
OKLCH is the polar form of the Oklab colour space. Its lightness value matches how bright a colour looks, so 70% lightness looks equally light whether the hue is blue or yellow. That makes it much easier to build palettes and meet contrast targets than with HSL. Modern browsers support it through CSS Color Module Level 4.
Examples
oklch(65% 0.22 140) is a vivid green accent: 65% lightness, chroma 0.22, hue 140 degrees.The narration pronounces it "okay l c h".Related terms
- lightness, chroma and hue — The three values of an LCH colour: how light it looks, how colourful it is, and which colour it is as an angle around a wheel.
- perceptual uniformity — The property of a colour space where equal changes in its numbers look like equal changes to the human eye.
- CSS Color Module Level 4 — The W3C specification that adds new colour spaces and functions to CSS, including oklch(), lab() and color(display-p3 ...).
- HSL — A way of describing an sRGB colour by hue, saturation and lightness, which is easier to adjust by hand than raw RGB numbers.
Taught in
- Modern Color Spaces: OKLCH, Gamut Mapping & APCA Contrast — Design Systems & Component Engineering
- Tailwind CSS v4 Engine: CSS Variables & Theme Extensions — Design Systems & Component Engineering