It could also mean you need to douche for cleansing.
Yellow discharge is not due to yeast infection. It can be due to trichomonal infection. These are protozoan and are transmitted through sex. This infection can cause greenish yellow or frothy discharge. Medicines like like metronidazole like Flagyl can be used to treat this infection. But it will be good ton see a doctor.