At the surface you can 'see' which gives it its famous yellow color, it has a temperature of about 5770 Kelvins. Its corona which extends a million miles above its surface has a temperature of several million degrees. No one really knows why this is.