There is may sound a bit complicated to the not so scientifically minded, but the problem with this idea is that it has to do with the size of the water molecules in the fog. The molecules of water vapor are large enough that the dispersion doesn’t occur in any particular way, thus making the wavelength of the light totally irrelevant. Yellow lights were more than likely chosen because yellow is associated with caution.
Yellow lights and yellow signs are used to indicate that a driver should:
Look for obstacles
So, it is used for increased levels of caution, which is exactly what drivers need to have when driving in heavy fog.
Now days, many fogs lights are halogen lights. This allows them to burn at a much hotter temperature than the traditional lights. Yet they still have a very low burnout rate. Halogen fog lights tend to have a tighter beam than incandescent fog lights, which is an added benefit.
There is also a special class of fog lights that are seen on some of the newer cars that are high-intensity discharge lamps. It is possible that these lights may use a number of different minerals for them to be able to operate.
You will be able to recognize these fog lights as they have a purplish hue, unlike the more standard traditional fog lights that are a yellow color.