What Determines The Color Of Flames?

Table of Contents (click to expand)

Flame color depends on two things: what is burning, and how completely it is burning. For carbon-based fuels like methane (gas stove) or candle wax, a blue flame means complete combustion, while a yellow-orange flame means hot soot particles glowing incandescently because there isn’t enough oxygen. Adding metal salts changes the color entirely (sodium glows yellow, potassium lilac, copper green, lithium and strontium red) because their excited electrons emit at characteristic wavelengths.

You have probably noticed that fires come in various sizes and colors. A burning candle wick gives off an orange-yellow flame, while a gas stove usually puts out blue flames. Other elements give an even greater variety of colors. For example, burning a piece of magnesium gives off a bright white flame, while potassium generates a purple flame upon burning.

Why Are Flames Produced?

Combustion is an exothermic reaction. The word “exothermic” is made of two parts: “exo” meaning releasing, and “thermic” meaning heat. These types of reactions produce a significant amount of heat when they take place.

These reactions produce heat because a huge amount of energy is released as the molecules undergo chemical changes. However, heat is not the only form of energy. These reactions also release energy in other ways, including the release of energy through photons, which produces light!

The release of photons requires a lot of energy. It is often also accompanied by a good deal of heat, especially during combustion. When atoms release energy, their electrons drop to a lower energy state, which is how they emit light. To understand this better, one must know some basics about atoms and their orbitals.

Atoms And Their Orbitals

Atoms are the basic building blocks of all matter in the universe. They are the smallest functional unit that forms all organic and inorganic matter. While an atom can be broken down further, its constituents cannot exist individually. They are not physically stable on their own, so an atom is the smallest stable entity that can exist on its own.

The constituents of atoms are as follows, neutrons, protons and electrons. The neutrons and protons are bound together and form the center, or the nucleus, of the atom. They also constitute the entire mass of the atom. Electrons, on the other hand, are extremely small in size and have negligible mass in comparison to the nucleus components.

Isolated,3d,Atom,Model,With,Green,And,Blue,Particles.,The
Figurative depiction of an atom. The central green part is the nucleus containing protons and neutrons, while the blue spheres are the electrons shown in the orbitals. (Photo Credit : Dabarti CGI/Shutterstock)

Electrons revolve around the nucleus of the atom, much like planets revolving around the sun in our solar system. Just like the solar system, the atom also has paths on which the electrons revolve around the protons and neutrons. These paths are known as orbitals.

Every orbital in an atom has some potential energy. Therefore, depending on which orbital it is occupying, an electron will have different energy levels. As you go farther from the nucleus, the energy level of the orbital increases. Electrons in these orbitals will have higher amounts of energy.

Excitation And De-excitation Of Electrons

Electrons in different orbitals have different energy levels. The level of potential energy that an electron has is its energy state. Electrons in higher energy orbitals have higher energy states.

It is also possible for electrons to jump from one orbital to another orbital within the atom. Due to differences in energy levels, the electrons must also compensate for this energy change.

When going from a lower energy state to a higher one, an electron must absorb energy from its surroundings. This is known as the excitation of the electron. When going from a higher energy state to a lower energy state, the electron releases energy into its immediate surroundings. This is called the de-excitation of the electron.

This kind of energy change is central to most chemical reactions. All molecules try to achieve the lowest possible energy state in order to gain stability. During combustion, the atoms lose a lot of energy, so the de-excitation of electrons occurs.

How Does The De-excitation Of Electrons Produce Different Colors Of Light?

The de-excitation of electrons, as mentioned above, releases energy into their immediate surroundings. One of the most common ways to release energy is through the emission of light. When an electron loses energy, it transfers that energy to a photon.

Photons are the fundamental particles of light. They are subatomic particles that are massless and carry energy in the form of light. Essentially, all light is made of photons. The wavelength of the emitted light depends on the energy carried by the photon.

When the energy from an electron transfers to a photon, light is emitted from the atom. Depending on the energy change of the electron, the energy provided to the photon will also vary. This results in different wavelengths of light being emitted by different energy changes.

Since varied wavelengths correspond to their own individual colors, it results in the emission of different colored lights. Depending on what molecule is undergoing combustion, the electron energy state changes. Thus, the combustion of different substances produces different colored lights.

Levels Of Oxidation Of Carbon Affect The Flame Color

The most common fuels that we use in everyday life are carbon-based. From LPG cylinders to candle wax, most of the combustion around us involves carbon-based fuels.

In that case, why does a candle flame differ from a gas stove? Because of the level of oxidation the carbon molecule goes through.

In the presence of enough oxygen, all the carbon atoms turn to carbon dioxide, and the flame appears blue in color. However, in the absence of enough oxygen, not all carbon forms carbon dioxide. Carbon monoxide and particulate carbon are also produced. The particulate carbon forms soot.

flame and wax
The flame of a gas stove appears to be blue because LPG is a relatively simple carbon fuel and is undergoing complete combustion. On the other hand, wax is a much more complex carbon fuel. It cannot undergo complete combustion in atmospheric oxygen, and gives off a yellow flame due to particulate carbon and soot (Photo Credit : Marian Weyo & ERIK Miheyeu/Shutterstock)

You must have noticed the presence of soot in the form of blackish powder. Soot is formed when there is not enough oxygen available to oxidize all the carbon that is present. The tiny soot particles glow yellow-orange due to incandescence (the same way a hot piece of metal glows), producing the characteristic yellow flame of incomplete combustion.

On the other hand, when combustion is complete, excited molecular radicals such as CH and C₂ that form during the reaction emit light in the blue part of the spectrum. This is why complete combustion produces a blue flame.

In the case of complex carbon molecules like wax, paper and wood, the ratio of carbon to atmospheric oxygen is very high. The oxygen in the air is not enough to oxidize all the carbon atoms. This gives rise to the orange-yellow flame seen in these cases. However, atmospheric oxygen is enough to completely oxidize the carbon in simpler fuels like methane and LPG, which gives them a characteristic blue flame when they burn.

Gas,Burner,With,Yellow,Flame,In,The,Kitchen,Oven
Gas stoves also sometimes give off yellow flames when the oxygen valve is compromised. This is because the oxygen available is so much less that even simple fuels are unable to undergo complete combustion, thus producing soot. (Photo Credit : CCat82/Shutterstock)

What Color Does Each Element Burn?

Carbon fuels explain the difference between a blue gas flame and a yellow candle, but they do not explain the bright reds, greens and lilacs you see in a chemistry classroom or a fireworks display. Those come from metal salts, and chemists exploit them in a simple procedure called the flame test. Dip a clean wire in a salt, hold it in a flame, and the flame takes on a color that fingerprints the metal.

Flame test colors of metal salts: lithium, strontium and calcium glow red, sodium yellow, barium green, copper green-blue and potassium lilac
(Photo Credit: Hegelrast / Wikimedia Commons, CC BY-SA 4.0)

The reason ties straight back to the de-excitation we described above. When a metal atom is heated, its outer electrons jump to higher orbitals, then fall back down and release the energy as photons. Because the spacing between energy levels is unique to each element, every metal drops its electrons in a slightly different pattern and emits its own characteristic set of wavelengths. Sodium is the textbook case: its glow is dominated by a pair of lines near 589 nm (the sodium D lines), which is exactly the orange-yellow you see in a street lamp.

Here are the colors commonly seen in the flame test:

  • Lithium – crimson red
  • Sodium – strong, persistent orange-yellow
  • Potassium – lilac (pinkish violet)
  • Calcium – orange-red
  • Strontium – bright scarlet red
  • Barium – pale green
  • Copper – blue-green

A couple of common questions fit here too. Magnesium does not really play the flame-test game: when it burns, it produces an intensely bright white light, because the reaction is so hot and energetic that it emits across the whole visible spectrum rather than at a few sharp lines. And there is no single answer to “what color does carbon burn” or “what color does hydrogen burn,” because non-metals do not give clean flame-test lines. Pure hydrogen burns with a flame that is nearly invisible in daylight, with only a faint pale-blue tinge.

Does Flame Color Tell You How Hot It Is?

People often ask which flame color is hottest, or what color a flame turns as it grows hotter. For the glowing part of a flame, color really is a thermometer. Anything hot enough glows on its own through incandescence (also called blackbody radiation), and the hotter it gets, the more its glow shifts toward the blue end of the spectrum.

A bar of heated metal glowing from orange to yellow-white, showing how an incandescent object shifts color toward white as it gets hotter
(Photo Credit: alex lines / Wikimedia Commons, CC BY-SA 2.0)

You can watch this on an electric stove or a blacksmith's iron. As a piece of metal is heated, it first glows a dull red, then a brighter orange, then yellow, and finally a brilliant white as it gets hotter still. The same ladder applies to the incandescent soot in a flame: the cooler regions glow red and orange, the hotter regions yellow, and the hottest glow white. It is the identical effect that makes a cool star like Betelgeuse look reddish while a much hotter star like Rigel shines blue-white. The order, from coolest to hottest, runs red → orange → yellow → white. A candle illustrates the scale on a small budget: its dim inner region sits around 800 °C (about 1,070 K), while the outer edge reaches roughly 1,400 °C (around 1,670 K).

There is one important catch, and it is the source of a lot of confusion. The blue flame of a gas stove or Bunsen burner is not blue because it is the hottest possible incandescent glow. That blue comes from light emitted directly by excited molecular fragments (such as CH and C2) during clean, complete combustion, not from blackbody glow. So while a blue gas flame is genuinely hotter than a sooty yellow candle flame, you cannot read every blue flame as “hotter than white.” The reliable rule is the incandescent one: for a glowing object or the glowing soot in a fire, redder means cooler and whiter means hotter.

Conclusion

Combustion is the burning of molecules to produce heat and light. Different molecules produce different colored flames. The color of each flame depends on the energy released by the electrons of the atom during de-excitation.

In the case of carbon fuels, the color of the flame depends on the amount of oxidation that the carbon molecules undergo. In the presence of sufficient oxygen, all the bonds are broken, and all the carbon is released in the form of carbon dioxide. This gives off a blue flame. In the case of insufficient oxygen, not all the carbon is turned to carbon dioxide. Instead, soot forms as well. Soot is composed of tiny carbon particles. These particles become incandescent, glowing yellow-orange due to their high temperature, similar to how a heated piece of metal glows.

The complete combustion of carbon-based fuels produces blue flames. While atmospheric oxygen is enough for the burning of simple carbon fuels, like methane and LPG, it is not enough for more complex substances. Hence, organic substances like wood and wax burn with a yellow flame. This is why some flames appear blue, while others appear yellow!

References (click to expand)
  1. Why do certain elements change color over a flame?. Scientific American
  2. What causes the colors in flames? - EarthSky. earthsky.org
  3. Flame tests | Causes of Color - Webexhibits. WebExhibits
  4. Flame Tests. Chemistry LibreTexts
  5. Black-body Radiation. Las Cumbres Observatory
  6. Temperature of a Candle Flame. The Physics Factbook