Home / Colors / Orange hex code

Orange hex code

The standard CSS orange, a bright yellowish orange.

#FFA500 Orange
HEX#FFA500
RGBrgb(255, 165, 0)
HSLhsl(39, 100%, 50%)
HSVhsv(39, 100%, 100%)
CMYKcmyk(0%, 35%, 100%, 0%)
Advertisement

About orange

The standard CSS orange, a bright yellowish orange. Its hex code is #FFA500, which is rgb(255, 165, 0): 255 red, 165 green and 0 blue on a scale of 0 to 255.

Other values you'll see for orange: #FF8000 (the color-wheel orange halfway between red and yellow).

Orange is a warm color.

Orange tints and shades

Lighter tints (mixed with white) and darker shades (mixed with black) of orange. Click any of them to copy its hex code.

Colors that go with orange

Complementary

The opposite color on the color wheel, for strong contrast.

Analogous

Neighbors on the color wheel, for a calm, matching look.

Triadic

Three colors evenly spaced around the wheel, for a balanced, lively palette.

Split complementary

The two colors either side of the complement: contrast without clashing.

Text on orange

White text

1.97:1 · Fails for text

Black text

10.63:1 · Passes AAA for all text

For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on orange. Test other combinations with the contrast checker.

Using orange in CSS

.element {
  color: #FFA500;
  background-color: rgb(255 165 0);
  border-color: hsl(39 100% 50%);
}
Advertisement

Frequently asked questions

What is the hex code for orange?

Orange is #FFA500. In RGB it's rgb(255, 165, 0), and in HSL it's hsl(39, 100%, 50%).

What colors go with orange?

Its complementary color is #005AFF, which gives strong contrast. For a softer look, use analogous colors #FF2600 and #D9FF00. Orange also pairs well with white.

Is orange warm or cool?

Orange is a warm color.

Should I use white or black text on orange?

Use black text. Its contrast ratio on orange is 10.63:1, versus 1.97:1 for white.

Similar colors

See all popular colors · All HTML color names · Open orange in the color picker

Advertisement