Actually, road markings are ALL cautionary, only road signs are regulatory. Pass on a double yellow all you want, so long as it's safe. However if there's a no passing sign also erected, then you're breaking the law.
As for the colour of the road markings; yellow denotes opposing traffic on...