100% free no uploads no sign-up

orange color code

The hex code for orange is #FFA500, which is rgb(255, 165, 0) in RGB and cmyk(0%, 35%, 100%, 0%) in CMYK. It's a medium, vivid orange. It is a built-in CSS colour, so you can also write it as “orange”.

#FFA500orange
White text: 1.97:1 ✗Black text: 10.63:1 ✓ AANearest name: orange

Move the sliders to find a lighter, darker or softer orange; the codes update as you go.

Orange colour codes

HEX#FFA500
RGBrgb(255, 165, 0)
HSLhsl(39, 100%, 50%)
HSV / HSBhsv(39, 100%, 100%)
CMYKcmyk(0%, 35%, 100%, 0%)
Decimal16753920
CSS keywordorange

About orange

Orange sits at a hue of 39° on the colour wheel, with 100% saturation and 50% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

For text, black reads better on orange. Orange as text on a white background has a contrast ratio of 1.97:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 10.63:1, which passes AA for body text.

Tints and shades of orange

Tints mix orange with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#FFF6E6#FFEDCC#FFE4B3#FFDB99#FFD280#FFC966#FFC04D#FFB733#FFAE1A
orange #FFA500
#E69500#CC8400#B37400#996300#805300#664200#4D3200#332100#1A1100

Colours that go with orange

Complementary — opposite on the colour wheel: maximum contrast

#FFA500#005AFF

Analogous — neighbours 30° either side: calm and natural

#FF2500#FFA500#DAFF00

Triadic — three hues 120° apart: lively but balanced

#FFA500#00FFA5#A500FF

Split complementary — the two neighbours of the complement: contrast with less tension

#FFA500#00DAFF#2500FF

Tetradic — four hues 90° apart: rich, use one as the main colour

#FFA500#00FF25#005AFF#FF00DA

Orange text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
orange on white1.97:1failfailfail
orange on black10.63:1passpasspass

Check orange against any other colour in the contrast checker.

How orange looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #FFA500protanopia #C3AC00deuteranopia #D9C10Etritanopia #FF8E8D

Use orange in code

.orange {
  color: orange;
  background-color: #ffa500;
  border-color: rgb(255, 165, 0);
}

Frequently asked questions

What is the hex code for orange?

Orange is #FFA500 (lowercase #ffa500). It's the official value of the CSS keyword “orange”.

What is orange in RGB, HSL and CMYK?

RGB: rgb(255, 165, 0). HSL: hsl(39, 100%, 50%). CMYK: cmyk(0%, 35%, 100%, 0%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with orange?

Its complementary colour is #005AFF (close to royal blue), which gives the strongest contrast. For a calmer look, use the analogous colours #FF2500 and #DAFF00, or the triadic pair #00FFA5 and #A500FF. Tints and shades of orange itself always work together.

Is orange a warm or cool colour?

Orange has a hue of 39°, which makes it warm.

Should I use black or white text on orange?

Black. Black text on orange has a contrast ratio of 10.63:1 and white text has 1.97:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use orange in CSS?

Write color: orange; or color: #ffa500; — both give the same colour. Named colours work in every browser.

Colours similar to orange