A bit freaked

Can you get pregnant if your boyfriend rubs/humps your genitals with his penis? There was no penetration. I am on birth control and have been for two months. I'm pretty sure I'm in the safe zone, but I always worry. Thank you, ladies!