RGB CONVERSION TO Luminocity

Hi everyone ,
Please do suggest me the conversion of RGB readings to luminosity of the light.

Did you try this?.