About orange
CSS orange (#FFA500) is a yellowish orange. It was added in CSS 2.1, after the 16 original HTML color names.
Redder oranges in CSS are darkorange (#FF8C00), orangered (#FF4500) and coral (#FF7F50), and tomato (#FF6347) sits between orange and red.
Shades and tints of orange
Orange lands on the 300 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For orange mixed with white, black or gray in even steps, use the tint and shade generator.
Colors that go with orange
Partner hues are picked on the OKLCH color wheel.
Complementary: the opposite hue
Open in the palette generator · Compare the screen and painter's complements of orange
Analogous: neighboring hues 30° either side
Open in the palette generator · See analogous and monochromatic colors of orange on three wheels
Triadic: three hues 120° apart
Split complementary: the two hues beside the complement
Text on orange
| Text | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White | 1.97:1 | Fail | Fail | Fail |
| Black | 10.63:1 | Pass | Pass | Pass |
The ratio is the same either way round, so orange text on a white background is also 1.97:1. Check other pairs in the color contrast checker.
Similar named colors
The CSS named colors closest to orange, by deltaE OK distance.
See all 148 on the color names page.
Closest Tailwind CSS colors
amber-500 v4: amber-500, #FD9A00, deltaE OK 0.029
amber-500 v3: amber-500, #F59E0B, deltaE OK 0.025
In Tailwind CSS v4 it is amber-500 (#FD9A00), and in v3 amber-500 (#F59E0B). For the exact color, use an arbitrary value such as bg-[#ffa500]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.
Orange with color vision deficiency
An approximation of how orange may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.
Test a whole palette or image in the color blindness simulator.
Using orange in code
.example {
color: orange; /* named color */
background-color: #ffa500; /* hex */
border-color: rgb(255, 165, 0);
}
