Yellow discharge?

nikki

I’m due for my period in 4 days and my dishcharge has been yellow and thick. At one point yesterday it looked white and clumpy but it has gone back to being yellow. I have a boyfriend and I am sexually active. I recently got tested for stis and I was clear. Is there any reason as to why my discharge is yellow?