When did the NFL red flag turn yellow?

The NFL penalty flags were never red. They were white. They changed the flags from white to yellow in 1965.