I used a product called Zout from Nancy's Notions. It was very concentrated and a little capful of it would get stains out of a whole load. When my youngest son played little league baseball, one evening 's practice involved sliding to the base on red clay in the rain. By the time they were through, his white double knit pants were red with clay caked into it. I soaked the pants over night in the washer with two capfuls of the Zout and then washed them . When he wore them back to the next practice, his pants were the only white one on the team. If you live in the US, you can get a bottle of Zout at Walmart, but it is not the same formula I used.
Daylilies are the Lord's smiles, a new one every day.