OKLCH → XYZ

Convert OKLCH to XYZ

Generate CSS-ready color tokens in every format you need

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 OKLCH to XYZ Colors

Ship consistent design systems faster by translating design specs into production-ready CSS color tokens without copy-paste mistakes.

Example Conversion

Input (OKLCH)

oklch(0.700 0.144 242.8)

Output (XYZ)

color(xyz 0.3135 0.3486 0.8341)

A
About OKLCH

Perceptually uniform LCH. 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

Building theme-switching tokens with HEX + HSL pairs
Ensuring gradient stops match marketing specs
Auditing brand palettes for accessible combinations
Migrating colors from design tools into CSS custom properties