So while all of this waste product is making its way down the digestive tract, still yellowish green, bilirubin is broken down by gut bacteria, which turns it colorless, before reacting with oxygen to turn it brown. If this process happens too fast, your poop will remain that yellow/green color.