Yellow sperm can be caused by an infection within the genital tract. This could be in the prostate or in the seminal vesicles. If the yellow tinge persists, it's best to call your doctor for an examination. You can find more information here: http://www.mayoclinic.com/health/discolored-semen/AN00779