Why Are Diesel Cans Yellow? | Fuel-Color Safety Guide

Yellow diesel cans exist because of a long-standing industry safety convention — not a universal federal law — to quickly distinguish diesel from gasoline and prevent costly misfueling accidents.

A gas can is red. A diesel can is yellow. Parked side by side, they’re unmistakable, and that’s the point. The color-coding system for fuel containers was formalized in the 1950s, with the industry adopting red for gasoline and yellow for diesel in 1957. The goal was simple: make it physically impossible to grab the wrong can at a glance. Today, the yellow-diesel convention is standard practice across most U.S. workplaces and job sites, though the legal landscape is more interesting than most people realize.

Is Yellow For Diesel A Federal Requirement?

No — OSHA does not mandate a universal color system for fuel cans. The one exception is red, which is specifically tied to flammable liquids under OSHA standards (29 CFR 1910.144 and 1910.106). Gasoline and other highly flammable liquids must go in red containers. Yellow for diesel, blue for kerosene, and green for oils all come from industry practice rather than federal regulation.

The Justrite Safety Can Color Guide confirms that “other than red cans for highly flammable liquids, there are no mandates requiring chemicals to be stored in different colored cans.” The yellow can has become synonymous with diesel through widespread adoption, not because any federal agency commanded it. However, some states have codified the practice into law — Virginia’s administrative code, for example, requires portable fuel containers to be color-coded as gasoline-red, diesel-yellow, and kerosene-blue.

Why Yellow Instead Of Another Color?

Yellow was chosen for its high visibility. On a busy job site or in a dimly lit garage, yellow stands out from the common red gasoline can, reducing the chance someone grabs the wrong one by habit. Diesel fuel itself is chemically different from gasoline — it’s less volatile and has a higher flash point — so separating the two with distinct container colors is the most practical layer of safety.

The system also helps with hazard communication. When a worker sees a yellow can, they know the contents are diesel, which has different handling, storage, and spill-response requirements than gasoline. This is especially important in workplace settings where multiple fuel types are stored side by side.

Does The Color Alone Make A Can Safe For Diesel?

No — the color is a labeling convenience, not a safety certification. A container’s actual approval for diesel depends on its construction and certification, not its paint. OSHA-compliant safety cans use spring-closed lids, spout covers, and pressure-relief mechanisms, and workplace containers are limited to 5 gallons (DOT permits up to 8 gallons). A yellow can that lacks these features is not automatically approved for diesel just because it’s the right color.

The key takeaway: color helps you grab the right can; the can’s certification makes sure it’s safe to use. Always check that the container is listed as approved for diesel fuel, regardless of what shade it is. The industry convention is a powerful guide, but it’s not a guarantee.

Does Diesel Fuel Itself Come In Yellow?

No — this is a common mix-up. The yellow refers to the can, not the fuel. Diesel fuel in its natural state is clear to pale yellow, tinted green in some regions due to added dyes for tax classification (on-road vs. off-road diesel). The container color and the fuel color are entirely separate. A yellow can may hold clear or green-dyed diesel; a red can will hold amber gasoline. The system is about keeping the two from ever sharing a container.

The U.S. system is well-established, but it’s worth remembering: this is primarily a workplace and portable-container convention. Bulk storage tanks follow different marking standards. If you’re storing fuel at home, matching a yellow can to diesel is the smart, conventional choice — just ensure the can itself is certified for the job.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.