People need to be able to see and hear trains appropriately so they're able to stay safe. In Britain, historically train fronts were required to have a yellow panel in order to make them more visible, a move which came in the 1950s when newer diesel and electric trains were found to be far quieter than steam.