Question:
Why does table salt, NaCl, sometimes appear yellow?
Solution:
This is due to the metal excess defect. The unpaired electrons get trapped in anion vacancies. When the electrons absorb energy, it gets excited and falls on the crystals. Thus the colour becomes yellow.