Orange
Orange is a medium, vivid color. Hex code #FFA500.
Orange color codes
- CSS name
orange - HEX
#FFA500 - RGB
rgb(255, 165, 0) - HSL
hsl(39, 100%, 50%) - OKLCH
oklch(79.3% 0.171 70.7)
HSB and CMYK values
- HSB / HSV
hsb(39, 100%, 100%) - CMYK
C0 M35 Y100 K0
White text
1.97:1 · fails WCAG
Black text
10.63:1 · passes WCAG AAA
Shades of orange
A darker shade of orange is #B07314 (400), and a lighter one is #FFEFDE (50).
Colors that go with orange
Complementary
Analogous
Triadic
The complementary color of orange is #005AFF.
Click a color to copy its hex code.
Colors similar to orange
- Sandy brown#F4A460
More red, more muted
- Dark orange#FF8C00
Slightly darker
- Goldenrod#DAA520
Slightly darker
- Light salmon#FFA07A
More red, more muted
- Burlywood#DEB887
More muted
- Dark salmon#E9967A
Slightly darker, more red, more muted
Each compared with orange.
About this color
Orange in CSS and design
Orange became the 17th color keyword in CSS 2.1, before CSS took over the long list of X11 color names. These four lines all give the same orange:
color: orange;
color: #FFA500;
color: rgb(255, 165, 0);
color: hsl(39, 100%, 50%);What to know about orange
The word orange reached English through French, from Arabic nāranj and Persian nārang, and goes back to Sanskrit nāraṅga, the orange tree. CSS orange (#FFA500) is a light, yellowish orange, and dark orange (#FF8C00) is, despite its name, only slightly darker and a little redder. As text on white orange reaches only 1.97:1, so it works better as a fill behind black text (10.63:1).
Frequently asked questions
What is the hex code for orange?
#FFA500. In CSS you can also use the keyword orange, which works in every browser.
What is orange in RGB and HSL?
In RGB it is rgb(255, 165, 0) and in HSL hsl(39, 100%, 50%). In CMYK it is about C0 M35 Y100 K0, though printed colors vary with paper and ink.
Should I use black or white text on orange?
Black text works better: it has a contrast ratio of 10.63:1 and passes WCAG AAA. White text reaches 1.97:1.
What is the complementary color of orange?
#005AFF. It sits opposite orange on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.
Which colors go with orange?
For strong contrast, pair it with its complementary color #005AFF. For a calmer look, combine it with its analogous neighbors #FF2500 and #DAFF00. The palette generator builds more combinations.