Your postnatal bleeding should last for no more than 40 days. this means that you should have waited until the 6th of October unless you had seen your purity which is identified by the white thread like discharge or by complete dryness.
Therefore, if you had seen you purity on the 1st, what you have done is OK and you should not pay any attention to the yellow discharge.