For other sets of primary chromaticities (defined by their x and y chromaticity coordinates), different linear coefficients are needed to get relative luminance.
For example, contact transformations let coefficients of the transformations infinitesimal generator depend also on first derivatives of the coordinates.