Xerobit

Orange Hex Code and Color Values

Orange (CSS name orange) has the hex code #FFA500. In RGB it is 255, 165, 0, and in HSL it is 39 degrees, 100% saturation and 50% lightness.

Orange: #FFA500

  • Hex
    #FFA500
  • RGB
    rgb(255, 165, 0)
  • HSL
    hsl(39, 100%, 50%)
  • HSV
    39, 100%, 100%
  • CMYK
    0%, 35%, 100%, 0%
  • CSS name
    orange

Orange color values

FormatValue
Hex#FFA500
RGBrgb(255, 165, 0)
HSLhsl(39, 100%, 50%)
HSV39, 100%, 100%
CMYK (simple conversion)0%, 35%, 100%, 0%
Decimal16753920

CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.

About Orange

This bright, warm hue sits between red and yellow on the visible spectrum. It draws immediate attention, so designers use it for call to action buttons and warning indicators. The color evokes citrus fruit, autumn leaves, and high energy. It is one of the 148 CSS named colors.

Shades and tints of Orange

Tints mix Orange with white and shades mix it with black. Each step changes the color by 10 percentage points.

StepTint (towards white)Shade (towards black)
10% #FFAE1A #E69500
20% #FFB733 #CC8400
30% #FFC04D #B37300
40% #FFC966 #996300
50% #FFD280 #805300

Color harmony for Orange

These colors keep the same saturation and lightness as Orange and rotate the hue around the color wheel.

SchemeColors
Complementary #005AFF
Analogous #FF2500 #DAFF00
Triadic #00FFA5 #A500FF
Split complementary #00DAFF #2500FF

Contrast and accessibility

Contrast between #FFA500 and white is 1.97:1 (fails). Against black it is 10.63:1 (passes AAA). For text on a Orange background, black text is the more readable choice.

Use Orange in CSS

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

All four lines produce exactly the same color. The keyword orange is one of the CSS named colors, so it works in every browser without a color function.

Similar named colors

FAQ

What is the hex code for Orange?

The hex code for Orange is #FFA500. As a CSS color keyword you can also write orange.

What is Orange in RGB?

Orange is rgb(255, 165, 0): red 255, green 165, blue 0 on the 0 to 255 scale.

What color is closest to Orange?

Of the CSS named colors, darkorange (#FF8C00) is the closest match to Orange, followed by goldenrod and gold.

More colors