gastric juices in the stomach are bright yellow in most cases so a rapid transport of this fluid along with food can result in greenish stools. this is very common in babies who often have a bowel movement as you are feeding them (very rapid transport! ). other causes (i don't know the age of this person) include various green vegetables. green stools are not considered a sign of anything "bad".
why would feces be green colored?