harold mcgee, author of on food and cooking, explains that carrots turn green when the batter "contains too much baking soda, or when the soda isn't evenly mixed in the batter." carrots contain pigments that are sensitive to changes in ph balance.