If there are two solid yellow lines in the center of the road, when are you allowed to pass in either direction?
When following a slow truck.
Only if you are sure it is safe.
On US highways only.
Passing is never permitted.