Yes, the spectrum on top is correct!
Both spectra show the same range of colors.
But only the spectrum on top corresponds shows the
brightness indicated by the graph:
Blue and yellow are bright...Green is dim.