Actually, I believe California law requires yellow lights to be at least 4 seconds long. I'll see if I can dig up a citation for you.
*edit* this is what I've found so far:
http://www.dmv.ca.gov/pubs/vctop/d11/vc21455_7.htm
Seems it may just apply for lights that have cameras. I'll keep looking.
Ok this is what I've found:
Table 4D-102 Minimum Yellow Light Change Interval
Posted Speed or Prima Facie Speed Minimum Yellow Interval
MPH / SECONDS
25 or less / 3.0
30 / 3.2
35 / 3.6
40 / 3.9
45 / 4.3
50 / 4.7
55 / 5.0
60 / 5.4
65 / 5.8
Seems they are related to how fast the posted speed is. Again, these supposedly only apply to lights with cameras on them. I do not believe this law applies to regular lights.