XYZ and xyY
XYZ to xyY
If X = Y = Z = 0, x and y are set to the chromaticity coordinates of the reference white.
xyY={WXX+Y+ZX if X=Y=Z=0 otherwise ={WYX+Y+ZY if X=Y=Z=0 otherwise =Y xyZ to XYZ
XYZ={0yx⋅Y if y=0 otherwise =Y={0y(1−x−y)⋅Y if y=0 otherwise