Bile is a greenish-yellow liquid made and released by the liver and stored in the gallbladder. Therefore, bile is greenish-yellow in color. When a person vomits, the color of the vomit can vary depending on its cause. If a person vomits on an empty stomach, the vomit may appear yellow or green because of the presence of bile. However, if the vomit persists for more than a day or two, or if it is accompanied by severe pain, fever, weakness, constipation, or any other concerning symptoms, it is advisable to seek medical attention.