XYZ to CMYK Converter

Enter CIE XYZ tristimulus values and instantly get CMYK percentages with a live color swatch.

CIE XYZ Input (D65)

0.4874
0.3820
0.0450
#FF8C00

CMYK Output

Conversion Steps

  1. 1 XYZ → Linear sRGB: R=1.0000, G=0.2582, B=0.0000
  2. 2 Linear sRGB → sRGB (gamma): R=255, G=140, B=0 (#FF8C00)
  3. 3 RGB → CMYK: C=0%, M=45%, Y=100%, K=0%
Copied!

Summary

Enter CIE XYZ tristimulus values and instantly get CMYK percentages with a live color swatch.

How it works

  1. Enter X, Y, and Z tristimulus values in the input fields or drag the sliders. Typical range is 0–1 for D65-normalized XYZ.
  2. XYZ is converted to linear sRGB using the inverse sRGB matrix (D65): each channel is a weighted sum of X, Y, and Z.
  3. Linear sRGB channels are gamma-encoded back to standard sRGB: values ≤ 0.0031308 multiply by 12.92; higher values use the power curve.
  4. The sRGB values are converted to 8-bit RGB integers (0–255) and the hex color is computed.
  5. RGB is converted to CMYK: K = 1 − max(R,G,B)/255; each ink channel = (1 − channel/255 − K) / (1 − K).
  6. All outputs update in real time. Click any Copy button to copy the value to your clipboard.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-28 · Reviewed by Nham Vu