Skip to content
Nederlands Kleur Instituut - 50 yearsNederlands Kleur Instituut
Knowledge Base

CIELAB: From XYZ to x,y,Y and MacAdam Ellipses (Part 2)

by Mark Kotterink, Director of the Nederlands Kleur Instituut (SNKI)
CIELAB: From XYZ to x,y,Y and MacAdam Ellipses (Part 2)
Summary

Tristimulus values XYZ are translated in practice to x,y,Y coordinates. However, the x,y diagram is not perceptually uniform, as MacAdam demonstrated with his famous ellipses - an important motivation for CIELAB.

Every color can be described with three tristimulus values X, Y, and Z. These values are always ≥ 0 and form the basis of colorimetry. Instead of these three absolute values, practice often uses the normalized color coordinates x, y, and additionally the luminance component Y. This forms the notation x,y,Y.

1. From XYZ to x,y,Y

The color coordinates are calculated as follows:

  • x = X / (X + Y + Z)
  • y = Y / (X + Y + Z)
  • z = Z / (X + Y + Z)

The sum x + y + z = 1, whereby the third coordinate can always be derived (e.g., z = 1 – x – y).

In the x,y-chromaticity diagram:

  • x is plotted along the horizontal axis
  • y along the vertical axis
  • Y functions as the third dimension (brightness), but is not displayed in the 2D diagram

Therefore, when interpreting, it should be considered that all colors in the diagram assume equal brightness (equal Y) — something that is often incorrectly ignored in many visual diagrams.

2. Interpretation of the x,y Diagram

Important structures within the diagram:

  • The horseshoe-shaped edge contains the spectral colors (single wavelength).
  • The straight line between the blue and red ends is the purple line (mixed colors that are not spectral).
  • The white point (neutral light) is at x = 0.333, y = 0.333 for an ideal equal-energy light.

This diagram is widely used to visualize color relationships, but should be interpreted with caution.

3. Non-Uniformity: MacAdam Ellipses

In 1942, David MacAdam investigated how large a variation in color could be before a human perceives a difference (JND – just noticeable difference). For various points in the x,y diagram, he determined:

  • Direction of smallest perceptible difference
  • Size of this variation

The resulting areas — MacAdam ellipses — are often shown 10× enlarged on maps.

MacAdam's Conclusions

  • The ellipses differ greatly in shape, size, and orientation depending on the position in the x,y space.
  • This demonstrates that the x,y-chromaticity diagram is not uniform.
  • An equal distance in x,y does not represent an equal perceived color change everywhere.

This lack of perceptual uniformity was an important motivation for the development of CIELAB, which specifically attempts to make color differences perceptually consistent.


👉 Want to learn more about color measurement and colorimetry? View the courses at kleurenschool.nl


Questions about chromaticity or CIE standards? Contact us via info@kleurinstituut.nl or call +31 (0)70 364 98 02.

Frequently asked questions

Frequently asked questions

What are MacAdam ellipses?

In 1942, David MacAdam investigated how large a variation in color could be before a human perceives a difference, the just noticeable difference (JND). The resulting areas in the x,y diagram, the MacAdam ellipses, differ greatly in shape, size, and orientation depending on the position in the color space; on maps they are often shown 10 times enlarged.

Why is the x,y chromaticity diagram not perceptually uniform?

The MacAdam ellipses demonstrate that an equal distance in x,y does not represent an equal perceived color change everywhere. This lack of perceptual uniformity was an important motivation for the development of CIELAB, which specifically attempts to make color differences perceptually consistent.

How do you calculate the color coordinates x and y from XYZ?

The color coordinates follow from x = X / (X + Y + Z) and y = Y / (X + Y + Z). Because the sum x + y + z equals 1, the third coordinate can always be derived. In the x,y chromaticity diagram, Y functions as the third dimension (brightness), but it is not displayed in the 2D diagram.

Related articles

Want to know more?Contact us for tailored advice or follow one of our trainings.
Get in touch