When the plants are green, that means they have abundant chlorophyll. The light regulates the chlorophyll production in plants, so when the autumn days grow shorter, little amount of light is available to the plants which results in the less production of chlorophyll. The rate of decomposition of chlorophyll remains the same, but rate of production of chlorophyll decreases. This leads to change of colour of the green leaves to yellow.
Regards,