I've fixed this before, but I can never seem to remember how. I'm rendering with Arnold 5, Maya 2018. When I render the shot out in Render view it looks fine. But when I save the image as a JPEG afterwards it looks black. I have 'color management' turned on as I render.

Right is render view, left is what I get after saving as a JPEG.