What is the formal spectral classification code for the Sun?

Answer

G2V

The Sun is formally classified as a G-type main-sequence star, denoted by the spectral classification G2V. The 'G' specifies its spectral type related to surface temperature, and 'V' indicates its current main-sequence phase.

What is the formal spectral classification code for the Sun?
sizesunastronomystaryellow star