Skip to content

Guides · Advanced

CIE XYZ Color Space

The CIE 1931 XYZ color space is a device-independent, mathematically defined system for specifying color numerically, established by the International Commission on Illumination (CIE) in 1931. Built on the CIE 1931 2 degree standard colorimetric observer, it expresses any color stimulus as three tristimulus values, X, Y, and Z. Because it is grounded in measured human color-matching behavior rather than in any device's inks, phosphors, or filters, CIE XYZ serves as the master reference from which CIELAB, xyY, and RGB working spaces such as sRGB are derived, and it is one of the two encodings permitted for the ICC Profile Connection Space at the center of the color-managed print pipeline.

By PrinterArchive EditorialEdited by PrinterArchive Editorial

Overview

The CIE 1931 XYZ color space (also written CIE XYZ or CIEXYZ) is a device-independent, mathematically defined system for specifying color numerically, established by the International Commission on Illumination (CIE, Commission Internationale de l'Eclairage) in 1931. It is built on the CIE 1931 standard colorimetric observer (the 2 degree standard observer) and expresses any color stimulus as three numbers, the tristimulus values X, Y, and Z.

Because it is grounded in measured human color-matching behavior rather than in any particular device's inks, phosphors, or filters, CIE XYZ serves as the master reference space from which most other practical color spaces are derived, including CIELAB and the sRGB working space. It is also one of the two color encodings permitted for the ICC Profile Connection Space (PCS) that sits at the center of the color-managed print pipeline.

Related PrinterArchive reference pages cover ICC profiles, CMYK, halftoning, and the raster image processor (RIP) in depth. This page focuses on XYZ as the underlying colorimetric foundation and cross-references those rather than repeating them.

What it is / definition

CIE XYZ is a tristimulus color space. A color stimulus, described by a spectral power distribution, is reduced to three values by integrating that spectrum against three color-matching functions, conventionally written x-bar, y-bar, and z-bar (functions of wavelength). The results are the tristimulus values X, Y, and Z. Two stimuli with different spectra that yield the same X, Y, Z will match in color for the standard observer; such pairs are called metamers.

Key defining properties, as designed by the CIE in 1931:

  • The color-matching functions were chosen so that the tristimulus values of any physically realizable color are non-negative, unlike the earlier CIE RGB matching functions, which required negative amounts of a primary for some colors.
  • The y-bar function was deliberately made equal to the photopic luminous efficiency function, so that the Y tristimulus value is a direct measure of luminance (brightness). X and Z carry no luminance by themselves.
  • The space is often projected to the two-dimensional CIE 1931 xy chromaticity diagram (and the associated xyY representation), where x and y are normalized chromaticity coordinates and Y remains luminance. The horseshoe-shaped spectral locus of that diagram is a widely reproduced illustration in color science.

The X, Y, Z primaries are mathematical, imaginary primaries: they are more saturated than any real light, which is precisely what allows all real colors to have positive coordinates. They cannot be physically produced by any lamp or ink.

History where documented

The CIE 1931 system emerged from color-matching experiments conducted in the 1920s by W. David Wright and John Guild in Britain, using small (roughly 2 degree) matching fields. Their combined data underpin the 1931 standard.

At its 1931 session, held in Cambridge, England, the CIE formalized the CIE RGB and CIE XYZ color spaces, defined the CIE 1931 2 degree standard colorimetric observer with its color-matching functions, and adopted standard illuminants A, B, and C.

In 1964 the CIE defined a second set of color-matching functions for a larger 10 degree field, the CIE 1964 supplementary standard colorimetric observer. The CIE recommends this observer whenever correlation with visual color matching of fields larger than about 4 degrees is desired. It is a distinct observer from the 1931 2 degree observer and is not interchangeable with it.

In 1976 the CIE defined CIELAB (CIE 1976 L*a*b*) and CIELUV as more perceptually uniform transformations computed from XYZ, to address the perceptual non-uniformity of XYZ (see Limitations).

How it works

The tristimulus values are obtained in three conceptual steps:

1. Start with the spectral power distribution of the color stimulus. For a reflecting print, that is the product of the illuminant's spectrum and the sample's spectral reflectance. 2. Multiply that spectrum, wavelength by wavelength across the visible range, by each of the three color-matching functions x-bar, y-bar, and z-bar. 3. Integrate (sum) each product over the visible spectrum. The three results, after the conventional normalization, are X, Y, and Z.

For reflecting and transmitting materials the normalization is chosen so that a perfect diffuse white under the reference illuminant gives Y = 100. Y therefore reads as relative luminance, and chromaticity is separated out via x = X / (X + Y + Z) and y = Y / (X + Y + Z).

Because everything downstream is a transform of XYZ, XYZ acts as a hub: measured spectra convert to XYZ; XYZ converts to CIELAB for perceptual work; XYZ maps to and from RGB working spaces through a linear matrix; and XYZ is used inside device profiles.

Where it sits in the color/print pipeline

CIE XYZ, together with its derivative CIELAB, is the neutral meeting point that lets otherwise incompatible devices exchange color:

  • A spectrophotometer measuring a printed patch reports, at root, XYZ, from which L*a*b* and density are derived.
  • In an ICC color-managed workflow, every device profile maps its own device values (scanner RGB, monitor RGB, printer CMYK) to and from the Profile Connection Space. The ICC states that the Profile Connection Space "is based on the CIE 1931 standard colorimetric observer"; separately, the ICC specification (ICC.1 / ISO 15076) allows the PCS to be encoded as either CIEXYZ or CIELAB.
  • Because both an input profile and an output profile connect through this shared XYZ/LAB space, transforms for input, display, and output devices can be produced independently and combined at conversion time. That decoupling is what makes portable color management possible.

The default measurement condition for the ICC PCS is standardized: illuminant D50 and the 1931 2 degree observer (per ISO 13655), with print viewing under the graphic-arts conditions defined in ISO 3664. This is why print color management is anchored to D50 rather than the D65 used for displays.

Relationship to ICC profiles and CMYK

  • The ICC PCS is defined in terms of CIE colorimetry, as either PCSXYZ or PCSLAB, both referenced to the D50 white point and the CIE 1931 observer. The ICC D50 reference white has tristimulus values of approximately XYZ = 0.9642, 1.0000, 0.8249 (normalized to Y = 1). XYZ is the linear, luminance-bearing form; CIELAB is the perceptually spaced form computed from XYZ. See the PrinterArchive ICC profiles page for profile structure, rendering intents, and tags.
  • A CMYK output (printer or press) profile does not describe color in absolute ink terms alone; it ties CMYK combinations to their measured PCS coordinates, ultimately XYZ/LAB under D50. Converting an image to CMYK therefore means: source values to PCS (XYZ/LAB) to CMYK via the output profile, with a rendering intent deciding how out-of-gamut colors are handled. See the PrinterArchive CMYK page.
  • ISO 12647 process-control standards specify target print colors as CIELAB values, which are themselves XYZ-derived. This is how aim colors and tolerances for presses are communicated.

Relationship to printer technologies

CIE XYZ is technology-agnostic by design: it describes the color a human observer sees, not how a device makes it. That neutrality is exactly its value across printer types.

  • Offset and press, inkjet, dye-sublimation, and toner/electrophotographic devices all have different colorants and gamuts, but each can be characterized by measuring printed patches, expressing them in XYZ/LAB, and encoding the result in an ICC output profile.
  • Halftoning and the RIP determine how continuous-tone image data becomes printable dots; the resulting printed color is what gets measured back into XYZ. XYZ itself imposes no dot structure or ink limit. See the PrinterArchive halftoning and raster image processor pages.
  • Spot-color systems and multi-ink (extended-gamut) printing are likewise reconciled by measuring colorants into XYZ/LAB so they can be matched or proofed against process builds.

Common problems

  • Illuminant or white-point mismatch: XYZ values are only meaningful with a stated observer and, for reflective samples, a stated illuminant. Comparing a D65-referenced value to a D50-referenced one without a chromatic-adaptation transform gives wrong results, a frequent source of error between display (D65) and print (D50) workflows.
  • Observer confusion: the CIE 1931 2 degree and CIE 1964 10 degree observers give different tristimulus values for the same sample. Mixing them silently causes disagreement between instruments or software.
  • Metamerism: two samples matching in XYZ under one illuminant can visibly differ under another, because XYZ collapses a full spectrum into three numbers.
  • Perceptual non-uniformity: equal numerical steps in XYZ do not correspond to equal perceived color differences, so XYZ is a poor space for expressing tolerances. This is what CIELAB and Delta E were created to address.
  • Measurement geometry and conditions (for example the ISO 13655 M0, M1, and M2 measurement modes, sample backing, and fluorescence from optical brighteners) change the measured XYZ; results are only comparable when conditions match.

Advantages

  • Device-independent and standardized worldwide, enabling unambiguous color exchange.
  • Grounded in measured human vision through the standard observer, so it predicts visual matches.
  • Luminance is cleanly separated into Y, which is convenient for many calculations.
  • All real colors have non-negative coordinates, avoiding the negative values of CIE RGB.
  • Serves as the mathematical parent of CIELAB, xyY, and RGB working spaces, and as an ICC PCS encoding, forming a single hub that connects the whole pipeline.

Limitations

  • Perceptually non-uniform: numerical distance does not equal perceived difference, so it is unsuitable as a difference or tolerance space; use CIELAB and Delta E instead.
  • Only as representative as the standard observer: it models an average, not any individual's vision, and the 2 degree versus 10 degree choice matters.
  • Reduces a spectrum to three values, so it cannot by itself resolve metamerism or predict appearance under a different illuminant without additional adaptation models.
  • It is a colorimetric specification, not an appearance model: it does not account for surround, adaptation state, or viewing context, which are the domain of CIECAM-type models.
  • The primaries are imaginary and non-physical, which can be conceptually unintuitive.

Modern relevance

CIE XYZ remains the backbone of digital and print color nearly a century after its definition. It underlies the ICC color-management architecture used across professional print and imaging. It is the space through which sRGB and other RGB working spaces are formally defined: sRGB (IEC 61966-2-1) specifies its primaries and white point as CIE xy chromaticities and defines a linear-RGB-to-XYZ matrix. And it is the measurement basis for spectrophotometry, soft proofing, and ISO print process control. Wide-gamut and HDR imaging pipelines continue to use XYZ, and derivatives such as CIE xy chromaticities, to define primaries and to interchange color between systems.

Timeline

  1. 1920s

    Color-matching experiments by W. David Wright and John Guild provide the underlying data.

  2. 1931

    The CIE defines the CIE RGB and CIE XYZ color spaces, the 1931 2 degree standard colorimetric observer and its color-matching functions, and standard illuminants A, B, and C.

  3. 1964

    The CIE defines the 10 degree supplementary standard colorimetric observer (CIE 1964).

  4. 1976

    The CIE defines CIELAB (L*a*b*) and CIELUV, computed from XYZ, for improved perceptual uniformity.

  5. 1999

    sRGB is published as IEC 61966-2-1, specifying its color in terms of CIE XYZ / CIE chromaticities.

  6. ICC PCS

    Specified (ICC.1 / ISO 15076) as CIEXYZ or CIELAB, D50-referenced, using the 1931 observer; measurement per ISO 13655, viewing per ISO 3664.

Source transparency (10 sources)

These references support claims made in this entry. The archive uses verified institutional and public-domain sources only; see Source policy.

Sources consulted (10)

Continue in the archive

Related reading