You can remove coconut oil from your clothes by putting some cornstarch,baking soda, or arrowroot powder onto the coconut oil stain.
Sprinkle either one of those over the stain and then take a washcloth and get it wet and then dab the washcloth over the stain.
Use plain white washcloths or towels to dab the coconut oil out of the clothing.
Once you get the majority of the coconut oil out with the washcloth then the rest of the coconut oil should come out in the washing machine.