as plant finishes, the lack of nitrogen available in your solution causes the leaves to yellow. if you are close to harvest, this means that your plant is using stored nitrogen available from the leaves...thus they yellow.

p.s. you should use nutrients as directed for better results. peace