Adding chlorine in any form when you have metals in the water will cause discoloration - sometimes yellow, brown or greenish blue. However, if you have metals and have used appropriate amounts of sequesterant will not cause the discoloration - NOT having them will.
You need to get your CYA...