Yellow lines separate:

Yellow lines mark the center of a road used for two-way traffic. A solid yellow centerline indicates that drivers may not cross the line to pass. A broken yellow centerline indicates that drivers may cross the line to pass, but only if passing would not interfere with traffic.

Wait, before you go

Ace Your California DMV Written Test with our Guaranteed Cheat Sheet