Mix rgb "value mode" not behaving as expected

I expected the mode Value of the mix rgb node to force the color to be a certain value, but its not what I get. It seems like the saturation and hue of the colors still influence the value of the output of the node.

Here’s an exemple
the set-up, with the mix node’s fac being 0


Grayscale:

and here it is with the fac being 1


Grayscale:

The expected result would be an uniform value in grayscale, but its not the case.
My question would be why does it behave this way and how can I get around that
thanks!

The problem is in the way desaturation is handled in photo editors. If you’re desaturating based off HSL and not HSV you’d get a different result. Sometimes the software darkens blues more when desaturating, since the human eye is less sensitive to the blue light.
Here are the color pickers in Affinity Photo, as you can see the grayscale isn’t uniform as the HSL picker

I desaturated your images using HSL and HSV and as you can see it’s working correctly in HSV. This means the problem is not in Blender itself, but in your desaturation process


I did not know HSL existed and had such a difference! thanks for your help, it’s really appreciated!