A solid yellow line means two things. The colour indicates that traffic on the other side of the line travels in the opposite direction as you're traveling. The solid line indicated that you may not cross into that lane to overtake another vehicle.
no passing
The yellow solid line in the middle of the road means that you are to stay on your side of the road, no passing!
divided highway
DO NOT CROSS STAY ON YOUR SIDE
it means you can not pass people
No passing.
It means that your lane cannot pass.
you cannot cross over.
No passing by traffic travelling in your same direction.
No passing by traffic travelling in your same direction.
No passing when driving in that direction while it is solid.
Yellow lines define traffic that is flowing in the opposite direction. Solid lines mean do not cross, broken lines mean cross with caution. Without knowing which side was which, I cannot tell you if you were able to pass or not.