@sampson94,
The other driver is the one "crossing the line" while you were going straight.
With both having "yellow light", then it is the other driver's fault.
With you having the yellow light and the other driver having a green light which might includes a green arrow light, then it is your fault because he had green light and you might have crossed a red light without intention.
You must go back to the place of the incident and check what light color the other driver had when you were crossing the yellow light.
Try to check it at the same hour time of the incident, because traffic lighst are calibrated differently according to the hour, like mostly giving one or more minutes of green light to facilitate traffic on rush hour at evenings, and similar.