When the road is slippery, maintain a following distance of at least:

A minimum four-second following distance is recommended when riding under unfavorable conditions. If you are riding where there is heavy traffic congestion, where the pavement is slippery, or in an unfamiliar place, you should increase your following distance.
DMV Writen Test