will laundry detergent pods containing oxy clean remove coffee stains?

spilled some coffee on my pants and don't have time to wash it out by hand before class- will washing them with pods containing oxy clean do the trick? I wash on a cold and gentle cycle. if not, should I pre wash with dish soap by hand after it's sat for hours - would that help?