it is common to have this. even i had this yellow color discharge coming from my nipple when i was pregnant. i had it till i delivered the baby, after that few days later it satrted coming a smilk. my doctor said not to worry is "calostram" or something like that which babies need to be able to fight against infection.