Orange Color Code (#ffa500)

Orange is #ffa500 in hex and rgb(255, 165, 0) — a medium orange. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Orange
#ffa500
CSS nameorange
Hex#ffa500
RGBrgb(255, 165, 0)
HSLhsl(39 100% 50%)
HWBhwb(39 0% 0%)
CMYK0%, 35%, 100%, 0%

Tints and shades

Color harmonies

About Orange

Orange (orange) is a medium, vivid orange with the hex code #ffa500, or rgb(255, 165, 0). In HSL it sits at a hue of 39°, 100% saturation and 50% lightness. It is one of the 148 named colors every browser understands, so you can write color: orange; instead of the hex value.

Using Orange for text and backgrounds

PairingContrast ratioWCAG
Orange text on white1.97 : 1fails
Orange text on black10.63 : 1AAA

On a orange background, use black text (10.63 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: orange;               /* or #ffa500 */
  background-color: #ffa500;
  border: 1px solid rgb(255 165 0 / 50%);
}

Similar named colors

Dark Orange (#ff8c00), Goldenrod (#daa520), Gold (#ffd700), Dark Goldenrod (#b8860b), Chocolate (#d2691e), Peru (#cd853f).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for orange?
#ffa500 — that is rgb(255, 165, 0) and hsl(39, 100%, 50%). In CSS you can also just write orange.
Is orange text readable on white?
Its contrast ratio on white is 1.97 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with orange?
Its complementary color is #0059ff; analogous colors #ff2600 and #d9ff00 sit next to it on the color wheel.