I'm not sure what you have in mind; Tartrazine is lemon yellow (although of course often mixed to create other colors)
https://en.wikipedia.org/wiki/Tartrazine
The famously banned "red dye number whatever" I think was red dye number 2, banned in 1976 due to suspected carcinogenicity.
https://en.wikipedia.org/wiki/Amaranth_(dye)
But there are so many dyes that I can't be sure what you meant.
I will say, though, that although many food additives are ultimately a bad idea in one way or another, historically most of the suspected carcinogens are not, because humans are resilient in ways that mice are not (in part due to two million years of cooked food, and in part due to testing using cancer-prone inbred mice for decades).