D'Oh! Right you are. That should have said Y' = etc. That gives Luma, which is plenty close enough to actual Lightness (which is what this calls for, not Luminosity that Y is stands for) for this application.
'The fickle fascination of and Everlasting God'
- Billy Corgan, The Smashing Pumpkins