According to NASA, the Sun is a yellow dwarf star.
NASA describes our Sun as a 4.5 billion-year-old yellow dwarf star. It is a hot, glowing ball made up of hydrogen and helium and sits at the center of our solar system. It's located about 93 million miles (150 million kilometers) from Earth. The sun is also the only star in our solar system. Therefore, NASA considers the Sun to be yellow.