That sounds like a bad sinus infection to me.. Or at least that's what the doctor tells me when I get nasty mucus like that. I think clear-yellow is just a head cold , but when it makes the jump to yellow-green to green it's sinuses.
You should probably have the dr check it out. Nyquil sinus/flu I think it is usually knocks them out for me.. As well as the thera-flu hot drinks during the day. I used to get like that alot, so I know how gross you feel right now.
I hope any of this helps.
Christa