Function relativeLuminance