You mentioned that you crossed the light at 'yellow' and then got stuck in traffic. If this was the case then it is totally ur fault coz if you have not yet noticed, there is a sign board at every intersection (attached to the signal post and pained bright 'red') that says "DO NOT BLOCK THE INTERSECTION' and it is exactly what you have done even though you could see that there was traffic and the light turned yellow.

If not the above case, do not pay the fine but argue your case with the traffic department coz it you pay the fine it is taken as an admission of ur guilt.

Best of Luck!