Vaginal discharge is a common physiological occurrence in women during puberty before menopause. A yellow discharge from the vaginal tract, either after or before the period, is basically an indicator of an infection in the vaginal tract.
http://www.geekloveshealth.com/what-causes-yellow-discharge-before-period-and-how-to-prevent-it/