Green material is nitrogen-rich. If you have too high a nitrogen content then the nitrogen is turned into ammonia gas and you can lose some of the nutrients from the finished compost. It also will give off a horrible stench.