Emission spectrum of Atomic Oxygen Note that the half-life of N2 in the excited state is very low, hence it can emit at lower altitudes and higher densities. Atomic O (as opposed to molecular O2) exists above 80 km alt, formed by photodissociation.
https://cdn.fosstodon.org/media_attachments/files/112/957/899/470/686/751/original/09711ba6f8371b22.png