A warning light device includes a light member, and a coupling device for coupling the light member to the accelerator pedal of the vehicle, to actuate the light member to generate warning light when the accelerator pedal of the vehicle is released by the drivers, in order to indicate the releasing of the accelerator pedal of the vehicle, and for allowing the following drivers to have a longer time to make responses or to take actions. A rack may be coupled to the accelerator pedal, and a gear may be rotatably engaged onto a spindle of a generator, to actuate the generator to energize the light member when the accelerator pedal is released by the drivers.