An optical identification friend-or-foe system for vehicles comprising a selective wavelength tunable optical beacon located on each of the vehicles, wherein the tunable optical beacon for one vehicle includes a light source and wavelength encoder with means to select narrow-band wavelengths from the light source for emission from the beacon, which selected wavelengths form an identification code for said one vehicle, and means to direct said selected wavelengths from said light source and wavelength encoder to at least one diffuser comprising means to irradiate an area in a wide field-of-view around said one vehicle with those selected wavelengths.