Inspect DarkOrange (#FF8C00) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
DarkOrange
#FF8C00
Black text reads best on this background, at 9:1.
DarkOrange is one of the 148 CSS named colors, and resolves to #FF8C00 in every browser. In numbers that is rgb(255, 140, 0) and hsl(33, 100%, 50%). Perceptually it is a light, moderately saturated color: OKLCH puts its lightness at 75% and its chroma at 0.179. It sits in the oranges at 58 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 2.33:1 here, so black text is the safer pairing at 9:1. That combination of lightness and chroma makes it a workable mid-tone, the kind of value that lands in the middle of a shade scale.
The closest CSS named colors to DarkOrange, measured with CIEDE2000, are SandyBrown (#F4A460), Orange (#FFA500), Peru (#CD853F). If DarkOrange is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#FF8C00
RGB
rgb(255, 140, 0)
HSL
hsl(33, 100%, 50%)
HWB
hwb(33 0% 0%)
CMYK
cmyk(0%, 45%, 100%, 0%)
LAB
lab(70.21 39.78 76.09)
LCH
lch(70.21 85.86 62.4)
OKLCH
oklch(75.05% 0.1791 58.28)
WCAG asks for 4.5:1 between body text and its background. On #FF8C00 white text measures 2.33:1 and black text 9:1, so black clears it and white does not.
White text on DarkOrange
WCAG 2.2
2.33:1
APCA
Lc 50
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on DarkOrange
WCAG 2.2
9:1
APCA
Lc 58
Passes AA body text
Passes AAA body text
Passes AA large text
Check DarkOrange against any other color in the contrast checker.
DarkOrange sits at 75% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF7F1 and down to #0D0400, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#FFA459
20% lighter
#FFBA86
40% lighter
#FFCFAC
60% lighter
#FFE3CF
80% lighter
#FFF7F1
100% lighter
#C86C00
20% darker
#934E00
40% darker
#623200
60% darker
#351800
80% darker
#0D0400
100% darker
Build a full accessible scale from #FF8C00 in the shade generator.
Hues rotated around #FF8C00 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
DarkOrange sits at 58 degrees. Rotating it a half turn lands on 238 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of DarkOrange at 28 and 88 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
58, 178 and 298 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 238 degrees, this pair flanks it at 208 and 268. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around DarkOrange on the color wheel.
The biggest shift is under achromatopsia, where #FF8C00 reads as #9A9A9A, 29.5 CIEDE2000 units away. If DarkOrange is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#BA8B00
Deuteranopia
#D6A603
Tritanopia
#FF6E62
Achromatopsia
#9A9A9A
The nearest CSS keywords to #FF8C00, ranked by perceptual distance rather than by how close their hex digits happen to look.