Warning- Bodily Function Subject
"The liver constantly secretes a bright green fluid called bile into the small intestine or it is stored in the gallbladder.
Bile is needed to absorb fats and fat soluble vitamins. It also helps to soften stools and is responsible for giving stools their characteristic brown color.
As bile makes its way through the intestines, it progressively changes color from green to yellow to brown, due to the action of bacteria in the large intestine on the bile salts.
Green stool often indicates that food has passed through the intestines faster than normal (called decreased bowel transit time), before it could be changed from green to brown."
http://altmedicine.about.com/od/gettingdiagnosed/a/green_sto ols.htm