A Time When Theyre Green A Time When Theyre Brown

Riddle: A time when they’re green. A time when they’re brown. But both of these times, cause me to frown. But just in between, for a very short while. They’re perfect and yellow. And cause me to smile.

Answer: Bananas