XYZ to HWB Converter

Enter CIE XYZ values and instantly see the equivalent HWB (Hue, Whiteness, Blackness) color with a live swatch.

CIE XYZ Input

Quick Examples

HWB Result

Swatch preview
Enter XYZ values and click Convert.

Summary

Enter CIE XYZ values and instantly see the equivalent HWB (Hue, Whiteness, Blackness) color with a live swatch.

How it works

  1. Enter the X, Y, and Z channel values (each in the range 0–100 or 0–1, normalized to D65 illuminant).
  2. The tool converts XYZ to linear sRGB using the standard CIE matrix.
  3. Linear sRGB values are gamma-corrected to produce standard sRGB (0–255).
  4. sRGB is then converted to HSL to extract the hue angle.
  5. Whiteness and Blackness are derived from the min and max of the sRGB channels.
  6. A live color swatch updates in real time to show the resulting color.

Use cases

Frequently Asked Questions

Related tools

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