Incorrect luminance reported from VBA?

Hi folks,

As part of our art break down we have to write out the code codes for different items whether CMYK, RGB, or L*a*b.

In-house L*a*b is our go-to colour and I've come across an issue where my VBA macro does not seem to be getting the Luminance right from the colour.

In my code snippet:

If (obj.Fill.UniformColor.Type = cdrColorLab) Then
            fillName = "L: " & obj.Fill.UniformColor.LabLuminance & ", a:" & obj.Fill.UniformColor.LabComponentA & ", b:" & obj.Fill.UniformColor.LabComponentB
End If

Will return the Luminance as 96 for an item that is actually 38 and 61 for an actual luminance of 24.

The "a" and "b" elements are consistently correct.

Am I missing a key element here?

Thanks in advance!