Gray hair can turn yellow as residue is left behind from hair products, increasingly giving it a dull, lifeless appearance. Products such as shampoo, conditioners, hair sprays, mousses, and gels, vitamins that are high in beta carotene and some medication can leave a residue on the hair shaft that causes yellowing.