You may cross a double yellow line to pass another vehicle if the yellow line next to:

Double yellow lines in the center of the road indicate that you may pass if a broken line is next to your driving lane.
DMV Writen Test