The color of fire is influenced by the ionized atoms present, with different elements emitting distinct wavelengths of light. Common carbon-based fuels like kerosene and methane typically produce orange-yellow flames, while other elements, such as sodium and barium, can create yellow and green flames, respectively. The presence of unburnt carbon particles in flames contributes to the yellow color due to their high temperature, around 1200 °C. Additionally, the blue color observed in clean gas flames results from energy transitions in atoms rather than black-body radiation. Understanding these factors reveals the complexity behind flame coloration and its dependence on combustion conditions.