Foamy vomit

I’m 39.2 weeks and the past few days I’ve been vomiting this gross foamy vomit. I know my sister had similar vomit when she was delivering but has anyone experienced this days before? I’m not in active labor but have been having an increase in contractions this past week, but nothing that screams labor.