Cancer warnings for coffee may be overkill, but Proposition 65 is not It’s official: Coffee sold in California must carry cancer warnings, a Los Angeles judge ruled this week. The warnings are required by California law, Superior Court Judge Elihu Berle said, because of the presence of acrylamide, a chemical that is formed when coffee beans are roasted and that remains in the final beverage.