Free Accessible CSS Gradient Generator

← All Colors
#FF8C00 Dark Orange

Dark Orange Hex Code #FF8C00

Dark Orange is a light, vivid orange with the hex code #FF8C00. In RGB it is 255, 140, 0, and in HSL it is 33°, 100%, 50%. It is one of the 148 named colors in CSS, so you can write “darkorange” instead of the hex code.

HEX
#FF8C00
RGB
rgb(255, 140, 0)
HSL
hsl(33, 100%, 50%)
HSV
hsv(33°, 100%, 100%)
CMYK
cmyk(0%, 45%, 100%, 0%)
CSS name
darkorange

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Dark Orange

On a white background Dark Orange has a contrast ratio of 2.33:1 (Fail), and on black 9.00:1 (AAA). Black text is the better choice on top of it.

It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.

Orange is energetic and friendly. It works well for calls to action and highlights because it stands out against blue and neutral backgrounds without the alarm of red.

Shades and tints of Dark Orange

Tints mix Dark Orange with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Dark Orange

These schemes are calculated from Dark Orange on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Dark Orange is #002BFF, close to the named color Blue.

Dark Orange contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Dark Orange scores against white and black.

Contrast of Dark Orange with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 2.33:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 9.00:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Dark Orange2.33:1
Aa Black text on Dark Orange9.00:1

Dark Orange and color blindness

These are approximate previews of how Dark Orange can look with the main types of color vision deficiency.

Protanopia #AF9900

Dark Orange changes noticeably.

Deuteranopia #CAB400

Dark Orange changes noticeably.

Tritanopia #FF7177

Dark Orange changes noticeably.

Achromatopsia #AAAAAA

Dark Orange changes noticeably.

Gradients with Dark Orange

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Dark Orange to a lighter tint

background: linear-gradient(135deg, #ff8c00 0%, #ffd199 100%);

Dark Orange to its analogous neighbour

background: linear-gradient(135deg, #ff8c00 0%, #f3ff00 100%);

Dark Orange to its complement

background: linear-gradient(135deg, #ff8c00 0%, #0073ff 100%);

Colors similar to Dark Orange

How each close match differs from Dark Orange.

More orange colors →

Use Dark Orange in code

CSS
.element {
  color: #ff8c00;
  background-color: #ff8c00;
  border-color: darkorange;   /* darkorange is a valid CSS color name */
}
CSS variable
:root {
  --color-dark-orange: #ff8c00;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#ff8c00] text-[#ff8c00] border-[#ff8c00]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-dark-orange: #ff8c00;
}

Dark Orange questions

What is the hex code for Dark Orange?

The hex code for Dark Orange is #FF8C00. In RGB that is rgb(255, 140, 0), and in HSL it is hsl(33, 100%, 50%).

What is the complementary color of Dark Orange?

On the RGB (screen) color wheel, the complement of Dark Orange is #0073FF, which is close to Royal Blue. On the artist’s RYB wheel it is #002BFF, close to Blue.

Should I use white or black text on Dark Orange?

Black text. It has a contrast ratio of 9.00:1 against Dark Orange, which is WCAG AAA. The other option scores 2.33:1.

Is Dark Orange accessible as a text color on white?

No. Dark Orange on white scores 2.33:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Dark Orange?

Mixing Dark Orange with black gives #CC7000, #995400, #663800, #331C00 (20% to 80% black). Mixing it with white gives #FFA333, #FFBA66, #FFD199, #FFE8CC (20% to 80% white).

More color tools