Stellar Classification (Spectral Types) Reference

O, B, A, F, G, K, M spectral types with temperature and colour.

Reference table for the Harvard stellar spectral classification with effective-temperature ranges, star colour and example stars, plus a temperature-to-spectral-class lookup. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What is the OBAFGKM sequence?

It is the Harvard spectral classification, ordering stars by surface temperature from hottest to coolest: O, B, A, F, G, K and M. The mnemonic 'Oh Be A Fine Girl/Guy, Kiss Me' helps remember the order. The Sun is a G-type star.

Sorting stars by temperature

Astronomers classify stars by the absorption lines in their spectra, which depend mostly on surface temperature. The Harvard system orders the main classes from hottest to coolest as O, B, A, F, G, K and M. This reference gives the effective-temperature range, colour, typical mass and example stars for each class, plus a lookup that maps any temperature to its spectral class.

How it works

Each class spans a band of effective temperature, in kelvin:

O  30,000 – 60,000 K   blue
B  10,000 – 30,000 K   blue-white
A   7,500 – 10,000 K   white
F   6,000 – 7,500 K    yellow-white
G   5,200 – 6,000 K    yellow   (the Sun)
K   3,700 – 5,200 K    orange
M   2,400 – 3,700 K    red

Each class is subdivided 0–9, with 0 hottest, so the Sun is G2. A luminosity class in Roman numerals is appended (V = main-sequence dwarf, III = giant, I = supergiant), giving the Sun’s full type G2V. The lookup returns the class whose temperature band contains the value you enter.

Well-known example stars

ClassExample starTemperature (K)Notes
OTheta1 Orionis C~40,000The brightest star in the Orion Nebula trapezium
BRigel~12,000The bright blue-white star in Orion’s foot
ASirius A~9,940The brightest star in the night sky
FProcyon A~6,530One of the closest bright stars
GThe Sun~5,778Our star, an ordinary mid-life dwarf
KArcturus~4,300Prominent orange giant in Boötes
MBetelgeuse~3,500A red supergiant in Orion, variable brightness

The luminosity class dimension

Spectral type alone describes surface temperature; the luminosity class (the Roman numeral suffix) describes how intrinsically bright the star is, which correlates with its size and evolutionary state:

  • Class I (Ia, Ib): Supergiants — rare, massive, very bright. Betelgeuse is M2Ib.
  • Class II: Bright giants
  • Class III: Giants — including Arcturus (K1.5III) and Pollux (K0III)
  • Class IV: Subgiants — stars evolving off the main sequence
  • Class V: Main-sequence dwarfs (the most common) — including the Sun (G2V) and Sirius (A1V)
  • Class VI / sd: Subdwarfs — underluminous for their temperature
  • Class VII / D: White dwarfs — the dense remnants of evolved Sun-like stars

A full type like G2V therefore tells you three things: temperature band (G), position within the band (2, near the hotter end), and evolutionary state (V, hydrogen-burning main-sequence dwarf).

Beyond OBAFGKM: extending the sequence

Modern surveys of very cool objects have added three more classes:

  • L dwarfs (1,300–2,400 K): very red objects straddling the boundary between the coolest true stars and brown dwarfs; characterised by methane and dust in their atmospheres.
  • T dwarfs (700–1,300 K): cool brown dwarfs dominated by methane absorption.
  • Y dwarfs (below ~700 K): the coolest known sub-stellar objects, some cool enough that water clouds may form in their upper atmospheres.

These extend the sequence to OBAFGKMLT Y, though the classic OBAFGKM mnemonic still covers all normal hydrogen-burning stars. The mnemonic “Oh Be A Fine Girl/Guy, Kiss Me” remains the standard way to remember the order.