Ask an Eye Doctor and Get an Answer ASAP
It will not do any permanent harm to your eye. But it irritates your eye. The latex paint is water based paint, it is easier to be washed out. So you should wash the eye. If you don't have any relief, you should go to the ER to have exam.