Applying a paste of baking soda and water can help remove yellow stains from clothing. To create a paste, add water slowly to a bowl of baking soda until a paste is formed.
After creating the paste, apply it with a brush to the yellow stain. Let the paste remain on the fabric for 30 minutes to one hour before washing as normal to get the best results.
If the clothing is white, bleach can help to remove yellow stains. Add 1/8 to 1/4 cup of chlorine bleach to an empty washing machine. Start the machine, letting it fill with water halfway before adding the clothing. Pouring the bleach directly on the clothing can cause damage.
Hydrogen peroxide is another common household item consumers can use to remove yellow stains from clothing. To use hydrogen peroxide, pour it directly on the yellow stain and let it soak for several minutes or until the stain begins to lighten. The clothing can then be washed as normal.
Vinegar also works to remove yellow stains from fabric. Fill one quart of water and add 1 to 2 tablespoons of white vinegar. The clothing should then be placed in the water and left to soak for an hour before washing as normal.