Red is used exclusively for regulatory road signs prohibiting doing something. So, a stop sign is red because you are prohibited from driving past it without stopping. “Yield,” “do not enter ...
If there are no signs that display restrictions, then you can stop to unload on single yellow lines. However yellow lines on the kerb itself, or double yellow lines on the road, mean you are not ...