What happens to the temperature of the flame when the air hole is opened?

When the air hole is completely open, the flame is the hottest it can be. The fame turns blue. When the air hole is closed, the flame is yellow and its temperature is cooler.