press down arrow to get a random color
The LAB color space (specifically CIELAB or CIE L*a*b*) is a color standard defined by the International Commission on Illumination (CIE) in 1976. It represents colors with three dimensions: 'L' for lightness (ranging from 0 for black to 100 for white), 'a' for the green-red color component, and 'b' for the blue-yellow color component. Unlike RGB or CMYK, LAB is designed to be device-independent, meaning it defines colors based on human perception rather than how they are produced by a specific screen or printer. This makes it an crucial intermediate space for converting between different color profiles.
OKLCH is a color space that combines the perceptual uniformity of OKLAB with the intuitive cylindrical coordinates of LCH (Lightness, Chroma, Hue). It is increasingly becoming the preferred color space for modern web design and CSS because it allows for predictable color manipulation—such as creating harmonious palettes or adjusting lightness without shifting the perceived hue—better than HSL or standard LCH. It is natively supported in modern CSS Color Module Level 4, enabling more vibrant and accessible color schemes.