If you wash turmeric stains with soap, it will turn red (source). This is because turmeric is already yellow because of the curcumin. When this comes in contact with soap, which is a base, it reacts with the yellow, and it turns red. If you add lemon juice, it neutralizes this, and the stain returns to yellow.