Sodium lamps were deemed dangerous for driving” because they made it difficult for drivers to distinguish shapes, since they were different from day shapes. A kid in bright 1980ies colors (Little Red Hood) would look black under those lights.
LED was presented as a sharp improvement because of the large spectrum of white light.