Yellow sweat stains occur thanks to compounds mixing from sweat and deodorant. If you wait too long to tackle the discoloration, it can permanently set in.