Mathematically right values in decomposing to LAB ?

I don’t want to derail this thread, so I’ll just mention that the v7 command is “magick”, rather than “convert” or “composite”.

The IM forum https://www.imagemagick.org/discourse-server/index.php is a good place to ask questions specific to IM.