Nit: "luminosity" is an incorrect term to use here. https://en.wikipedia.org/wiki/Luminosity
You probably mean "lightness", but you might mean "luminance" or "brightness", depending on the details. https://en.wikipedia.org/wiki/Lightness https://en.wikipedia.org/wiki/Luminance