A new law just passed in California makes it the first state to tell public schools they may no longer serve foods that contain six artificial dyes linked to health and behavior problems among children. Gov. Gavin Newsom signed the California School Food Safety Act into law on Saturday.

It bans Red 40, Yellow 5, Yellow 6, Blue 1, Blue 2 and Green 3 in meals, drinks and snacks served in school cafeterias across the state, although the law won't take effect until Dec. 31, 2027. "Our health is inextricably tied to the food we eat—but fresh, healthy foods aren't always available or affordable for families," Newsom said in a news release after signing the bill into law.

"Today, we are refusing to accept the status quo, and making it possible for everyone, including school kids, to access nutritious, delicious food without harmful, and often addictive, additives. By giving every child a healthy start, we can set them on the path to a future with less risk of obesity and chronic illness." The bill was first proposed in March by Democratic Assembly member Jesse Gabriel, three years after a state report linked consuming synthetic food dyes to hyperactivity and neurobehavioral problems in some children.

"Overall, our review of human studies suggests that synthetic food dyes are associated with adverse neurobehavioral effects, such as inattentiveness, hyperactivity and restlessness in sensitive children," the report authors wrote. "The evidence supports a relationship between food dye.