Yellow discharge before a period can have a range of potential causes. Diagnosis depends on the consistency, smell, and color of the discharge. It may be a sign of an infection, such as a STI, early pregnancy, or that a period is on its way. Learn more about three types of a yellow discharge before a period here.