Science & TechFact
The yellow in autumn leaves was there all summer.
Yellow and orange carotenoids sit in the leaf all year but are masked by green chlorophyll. In autumn the tree stops making chlorophyll, the green is broken down, and the other colours show through. Red is the exception: the leaf newly produces anthocyanins at season's end, encouraged by bright days and cool nights.
Useful: Sunny autumn days with cold nights bring the most vivid reds.
Source: en.wikipedia.org