Baby vomiting something yellow

Pelaghia

My 3 months old just vomited something yellow, I know it’s probably because is on an empty stomach. See picture. Did this happened with your baby?