I'm trying to create a workflow for generating images that I can use in computer vision research. I think that exporting Blender scenes in with a sRGB sequencer in EXR format is exporting images in a scene-linear way, and I can retrieve the CIE XYZ coordinates of each pixel outside Blender.
But I would like to check how Blender uses the colors of materials (e.g. material base and subsurface colors) and lights. When these are defined in 'RGB', can I use a similar conversion matrix to the one from here (Convert an EXR render from scene-linear colorspace to CIE XYZ) to get the CIE XYZ coordinates of the materials and lights in the scene (and so use the inverse matrix to find RGB values for my target CIE XYZ values)?