I’ve read that if you put green lawn grass clippings into your compost pile that it will rob the pile of much needed nitrogen.
Moderation is the key. A compost with too much of either ‘green’ or ‘brown’ in it won’t do a thing for anyone. :)