Spectral Type
Annie Jump Cannon, Harvard College Observatory, 1901 to 1912
What do the star classes O, B, A, F, G, K and M mean?
A star's spectral type classifies it by surface temperature, read from the dark lines in its spectrum, in the sequence O, B, A, F, G, K, M from hottest to coolest.
O stars exceed about 30,000 K and glow blue; M stars are below about 3,700 K and glow red. The Sun is a G2 star at about 5,772 K. Annie Jump Cannon classified around 350,000 stars by eye and fixed the order, and Cecilia Payne showed in 1925 that the differences reflect temperature and that stars are made mostly of hydrogen.
Brown dwarfs extend the sequence with the classes L, T and Y.
Also known as: Stellar classification, Harvard classification, OBAFGKM