OKLAB → XYZ

Convert OKLab to XYZ

Translate OKLab colors into XYZ values with professional-grade color science and live previews.

Tip: Hover over the input to auto-paste from clipboard

Paste or type a color value

Auto-detects HEX, RGB, HSL, and 12+ formats

Frequently Asked Questions

Converting OKLab to XYZ Colors

Convert OKLab (Perceptually uniform LAB) values into XYZ (CIE XYZ color space (D65)) without leaving the browser. Color.js powers every conversion so you can trust the numbers in production.

Example Conversion

Input (OKLab)

oklab(0.700 -0.066 -0.128)

Output (XYZ)

color(xyz 0.3135 0.3486 0.8341)

A
About OKLab

Perceptually uniform LAB. This color format is commonly used in perceptual color adjustments and accessibility reviews.

B
About XYZ

CIE XYZ color space (D65). Converting to this format is useful for color-managed documentation and print handoffs.

Common Use Cases

Designers matching OKLab specs to developer-ready XYZ values
Front-end teams translating design tokens across formats
Print and production teams validating color data before export
Educators explaining how modern color models relate to legacy spaces