Under normal riding conditions, maintain a safe following distance of at least:

When riding behind another vehicle under normal conditions, you should maintain a safe following distance of at least two seconds. Increase your following distance any time conditions are less than ideal.
DMV Writen Test