White on orangeBlack on orange

Shades to explore

ORANGE FAMILY

Orange colour code

#FFA500

Orange (#FFA500) is a medium-light, vivid shade in the orange family. Its HSL lightness is 50% and saturation is 100%.

HEX#FFA500
RGBrgb(255, 165, 0)
HSLhsl(39, 100%, 50%)

Text contrast

With white: 1.97:1 · With black: 10.63:1

Normal text needs 4.5:1 for AA; large text needs 3:1.

Use Orange in CSS

Copy this background and text pairing into your stylesheet.

.colour-orange {
  background-color: #FFA500;
  color: #000000;
}

Use the HEX value for a consistent digital reference. Descriptive colour names can vary between collections and are not always valid CSS keywords. This code does not identify a paint, fabric or print specification.

Using Orange

Try it as a warm accent for headings, illustrations or a project mood board.

Black text on Orange

10.63:1 · AAA for normal text

This pairing uses #000000 text on #FFA500. Results apply to solid colours; recheck contrast if you add transparency, imagery or effects.

Choose an orange for its role

This orange is #FFA500, or RGB 255, 165, 0. It is different from the deeper #FF8C00 dark orange and the redder #FF4500 orange red. Use the exact value your design needs rather than treating those names as interchangeable.

A bright orange can work as a highlight without working behind white text. Compare the black and white contrast results above before using it in a button. If you need white lettering, test a darker orange; if you need to keep this exact background, start with the suggested dark text.

Colour companions

Similar shades in the orange family