How to export luminance values?

You can setup lights in the scene using Lux or Lumens. When using the screenshot tool you can export using EXR, it is a property you can check.