Lost mucus plug

I'm 34 weeks and at 32 weeks I was 3cm dilated four days ago I started losing my mucus plug first is had a light pink tint to it and today is was like a yellow/white color looked like a snot what does this mean?