Keep in mind that this is an average temperature. The surface temperature of a star can vary slightly depending on the location and other factors.