In fact, according to the NHS, some infant formulas can make your baby’s poo dark green. Other reasons why a poo might turn green include: over-supply of milk when breastfeeding, an imbalance of foremilk and hindmilk, if you’re taking any medication like iron supplements or your baby has recently had vaccines, or if they have an infection. Sometimes green frothy poos can signal an allergy to cow’s milk protein.
Article source: https://www.huffingtonpost.co.uk/entry/baby-poo-green-newborn-nappy_uk_6a1ec927e4b032392fa6116b