What Is Yellow Food Coloring Made Of and Is It Safe?

Yellow food coloring is made from either synthetic chemicals derived from petroleum or natural pigments extracted from plants, fungi, and microorganisms. The most common synthetic versions in the U.S. are Tartrazine (Yellow 5) and Sunset Yellow (Yellow 6), both belonging to a class of dyes called azo dyes. Natural alternatives include turmeric extract, annatto, beta-carotene, and riboflavin.

Synthetic Yellow Dyes

The two synthetic yellow dyes you’ll encounter most often on ingredient labels are Yellow 5 (Tartrazine) and Yellow 6 (Sunset Yellow FCF). Both are azo dyes, meaning their color comes from a nitrogen-nitrogen double bond in their molecular structure. They’re manufactured from petroleum-derived starting materials through chemical synthesis, then purified into water-soluble powders that dissolve easily into foods and drinks.

Sunset Yellow, classified as E110 in Europe, is technically an orange-yellow dye built on a naphthalene backbone with sulfonate groups that make it dissolve in water. Tartrazine (E102) has a similar petroleum origin but produces a brighter lemon-yellow. These synthetic dyes are popular with manufacturers because they’re cheap, produce vivid and consistent color, and hold up well under heat, light, and acidic conditions. You’ll find them in candy, soft drinks, cereals, snack foods, sauces, and baked goods.

Turmeric and Curcumin

Turmeric is the most recognizable natural source of yellow food coloring. The pigment comes from curcumin, a compound concentrated in the root (rhizome) of the turmeric plant. To produce food-grade curcumin, manufacturers dry and powder turmeric rhizomes, then run the powder through multiple rounds of extraction using ethyl acetate as a solvent. The resulting solution is filtered, the solvent is stripped away, and the extract is cooled until curcumin crystals form. Those crystals are collected, powdered, and sometimes blended back with purified turmeric essential oils.

Curcumin gives a warm golden-yellow and works well in products like mustard, curry sauces, and some dairy items. Its main drawback is stability: it fades faster than synthetic dyes when exposed to strong light or high heat, which is one reason manufacturers still lean on synthetics for brightly colored candies and beverages with long shelf lives.

Annatto

Annatto comes from the seeds of the achiote tree (Bixa orellana), native to Central and South America. The seeds contain two key pigments: bixin, which is reddish, and norbixin, which is yellow. To get the yellow pigment, processors extract bixin using ethanol, then treat it with an alkaline solution (like sodium hydroxide) to break it down into norbixin, a water-soluble yellow compound. This conversion happens through a process called saponification, where the alkali strips a chemical group from bixin’s structure.

Annatto is widely used in cheese, butter, margarine, and other dairy products to give them a warm yellow or orange hue. If you’ve ever wondered why cheddar cheese is yellow, annatto is usually the answer.

Beta-Carotene and Lutein

Beta-carotene is the same pigment that makes carrots orange, and in lower concentrations it produces a yellow tone. It can be extracted from natural sources like algae or synthesized in a lab. Both versions are used as food colorants, though they differ slightly in their chemical makeup. Natural beta-carotene from algae contains a mix of carotenoid compounds, while the synthetic version is a single isolated molecule.

Lutein is another carotenoid pigment, this one extracted primarily from marigold flowers (Tagetes erecta). Because lutein doesn’t dissolve well in water, it’s typically extracted using non-polar solvents and then encapsulated or processed into a form that can be mixed into foods. You’ll see it listed on labels of beverages, baked goods, and snack foods as a natural yellow colorant.

Riboflavin (Vitamin B2)

Riboflavin, listed as E101 in Europe, doubles as both a vitamin supplement and a yellow food colorant. It produces a bright yellow-green color. Nearly all commercial riboflavin is now made through fermentation rather than chemical synthesis: genetically engineered bacteria or fungi are grown in large tanks, and the riboflavin they produce is harvested and purified. Major producers like BASF and DSM use strains that can yield up to 15 to 20 grams per liter of fermentation broth. About 70% of riboflavin on the market goes into animal feed, but a significant portion ends up in human food products and cosmetics.

Why Synthetics Still Dominate

Natural yellow colorants face real performance challenges compared to their synthetic counterparts. A study testing 10 natural yellow colorants in model beverage systems found that stability varied widely depending on heat, light, and pH. Safflower extract performed best, holding its color across temperatures from 25°C to 80°C and under intense light exposure. But many natural options degrade or shift color under conditions that synthetic dyes handle without issue. For manufacturers producing shelf-stable products that sit under fluorescent lights for months, that reliability matters.

Cost is the other factor. Synthetic azo dyes are inexpensive to produce in bulk, and a tiny amount creates intense, uniform color. Natural pigments often require more material to achieve the same visual effect and can vary from batch to batch depending on growing conditions.

Health Concerns With Synthetic Yellow Dyes

The biggest controversy around yellow food coloring centers on synthetic azo dyes and children’s behavior. A series of studies from the University of Southampton tested mixtures of synthetic dyes (including Tartrazine, Sunset Yellow, and four other azo dyes) on children, measuring hyperactivity through parent and teacher ratings. One mix containing 30 mg total of four dyes produced a statistically significant increase in hyperactivity scores compared to placebo. These findings prompted the UK government to ask food manufacturers to switch to natural colorants, and the EU now requires labels on foods containing these dyes to warn that they “may have an adverse effect on activity and attention in children.”

Tartrazine also has a well-documented connection to aspirin sensitivity. In the general population, tartrazine intolerance is rare, estimated at less than 0.12%. But among people who are sensitive to aspirin, the cross-reactivity rate is much higher: studies have found that 24% to 31% of aspirin-sensitive individuals also react to tartrazine, with symptoms ranging from hives to measurable drops in lung function. People with asthma or chronic hives who already react to aspirin are the most likely to notice problems.

Natural yellow colorants like turmeric, annatto, and beta-carotene don’t carry the same behavioral or sensitivity concerns, which is a major reason consumer demand has been pushing manufacturers toward reformulating with plant-based alternatives.