Workers wearing yellow hard hats while working on a railroad .