Green-colored feces might be caused by different factors. For an instance, it can be because of food you ate. Green, leafy vegetables contain chlorophyll, which can color the stool green. Foods that have certain kinds of additives, such as artificial flavors or colors, may also have a greening effect. It could also mean that the stool passed too quickly through the large intestine.