Skip to content

Orange

Orange is a medium, vivid color from the orange family. Hex code #FFA500.

Orange#FFA500

Color codes

  • CSS nameorange
  • HEX#FFA500
  • RGBrgb(255 165 0)
  • HSLhsl(39 100% 50%)
  • HSB / HSVhsb(39, 100%, 100%)
  • OKLCHoklch(79.3% 0.171 70.7)
  • CMYKcmyk(0%, 35%, 100%, 0%)

White text

1.97:1 · fails WCAG

Black text

10.63:1 · passes WCAG AAA

Shades

50#FFEFDE
100#FBCB92
200#F5A531
300#D28B24
400#B07314
500#8C5C18
600#6E4503
700#4F3000
800#311C00

Complementary

#FFA500
#8AC0FA

Analogous

#FFA500
#F9A283
#D2BD2C

Triadic

#FFA500
#39D5CE
#D7A1FD

About this color

Orange in CSS and design

Orange is a medium, vivid color from the orange family. Orange is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: orange;
color: #FFA500;
color: rgb(255 165 0);
color: hsl(39 100% 50%);

For text on orange, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

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), in HSL hsl(39 100% 50%). For print, cmyk(0%, 35%, 100%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

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.

Which colors go with orange?

Its complementary color is #8AC0FA, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #F9A283 and #D2BD2C. The palette generator builds more combinations.