What does the color of the stool indicate?
Green stool — when your feces look green — is usually the result of something you ate, such as spinach. Certain medications or iron supplements also can cause green stool.
Newborns pass a dark green stool called meconium, and breast-fed infants often produce yellow-green stools.
In older children and adults, green stool is uncommon. It's rarely cause for concern.
Causes
In children and adults causes of green stool include:
- Diet high in green vegetables, such as spinach
- Food dyes
- Diarrhea
- Iron supplements
When to see a doctor
Call your doctor if you or your child has green stool for more than a few days.
Green stool often occurs with diarrhea, so drink plenty of fluids and seek immediate medical attention if you or your child becomes dehydrated.
Source:
https://www.mayoclinic.org/symptoms/green-stool/basics/definition/sym-20050708