A job site uses a fence for pedestrian protection. According to code what is minimum allowed height of the fence?

A job site uses a fence for pedestrian protection. According to code what is minimum allowed height of the fence?