Excess moisture can be created by sweat, urine, and oils on your mattress, which is all mold and mildew needs to thrive. Mold might appear as little yellow patches covering a specific area of the mattress, similar to other yellow stains.