What does it mean when your mucus is clear and yellow coming out

I'm have clear and yellow mucus plug is coming out of my vagina right now and I've been having contractions 4 days ago so