Lemons act as a natural garment whitener. You can use lemon in whitening coloured clothes as well as whites. Here are a few recipes for you.
Alternatively, you can rub some lemon into the stains directly before washing them. If you add some
salt to it, it will perform as a scrub and may work better if the stain is tough (eg grass stains).