orange — #FFA500
#FFA500
rgb(255, 165, 0) · hsl(39, 100%, 50%) · CSS keyword orange
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| orange on white | 1.97:1 | — | — |
| orange on black | 10.63:1 | AA | AA |
As a background, orange takes black text: 10.63:1 against 1.97:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: orange;
color: #ffa500;
color: rgb(255 165 0);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to orange
- darkorange — #FF8C00
- goldenrod — #DAA520
- sandybrown — #F4A460
- gold — #FFD700
- coral — #FF7F50
- lightsalmon — #FFA07A
Frequently asked questions
What is the hex code for orange?
The hex code for orange is #FFA500 — RGB 255, 165, 0.
Can I use orange for text?
Not on a white background. orange reaches only 1.97:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on orange be black or white?
Black — 10.63:1 against 1.97:1 the other way.
Other named colours
- orangered — #FF4500
- orchid — #DA70D6
- palegoldenrod — #EEE8AA
- palegreen — #98FB98
- paleturquoise — #AFEEEE
- palevioletred — #DB7093
- papayawhip — #FFEFD5
- peachpuff — #FFDAB9
- peru — #CD853F
- pink — #FFC0CB
- plum — #DDA0DD
- powderblue — #B0E0E6
#FFA500 in full — tints, shades and harmonies · All named colours · Colour reference