Question: are moths attracted to yellow light?
Answer: Moths are more sensitive to some wavelengths of light -- ultraviolet, for example -- than they are to others. A white light will attract more moths than a yellow light. Yellow is a wavelength moths don't respond to.