Double solid yellow lines painted down the middle of the road mean:

Double solid yellow lines in the center of the road mean that passing is not allowed from either direction. You may not cross the lines unless you are making a left turn or passing pedestrians, bicyclists, and riders of scooters or skateboards when the opposite lane is clear and you can pass safely.
DMV Writen Test