If you're vomiting a liquid that's more olive-green or brownish-green than yellow, this may be bile. You should seek medical advice straight away if you think you're vomiting bile. Read more about nausea and vomiting in pregnancy.