Drivers must yield to a pedestrian:

Drivers must always yield to pedestrians in the street, even if they are crossing against a red light or are otherwise being careless.
DMV Writen Test