vaginal discharge

So I noticed when I put a tampon on in this morning because I was supposed to start my period today, but I went to the bathroom to take it out and there was yellow discharge on it? Could that be a sign of pregnancy because I had unprotected sex awhile back and he pulled out tho.