Inspect Chocolate (#D2691E) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
Chocolate
#D2691E
Black text reads best on this background, at 5.78:1.
Chocolate is one of the 148 CSS named colors, and resolves to #D2691E in every browser. In numbers that is rgb(210, 105, 30) and hsl(25, 75%, 47%). Perceptually it is a mid-toned, moderately saturated color: OKLCH puts its lightness at 63% and its chroma at 0.155. It sits in the oranges at 50 degrees of OKLCH hue, and reads as a warm color.
White text only reaches 3.63:1 here, so black text is the safer pairing at 5.78: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 Chocolate, measured with CIEDE2000, are Peru (#CD853F), OrangeRed (#FF4500), Coral (#FF7F50). If Chocolate is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#D2691E
RGB
rgb(210, 105, 30)
HSL
hsl(25, 75%, 47%)
HWB
hwb(25 12% 18%)
CMYK
cmyk(0%, 50%, 86%, 18%)
LAB
lab(56.63 39.24 57.55)
LCH
lch(56.63 69.66 55.72)
OKLCH
oklch(63.44% 0.155 50.27)
WCAG asks for 4.5:1 between body text and its background. On #D2691E white text measures 3.63:1 and black text 5.78:1, so black clears it and white does not.
White text on Chocolate
WCAG 2.2
3.63:1
APCA
Lc 68
Fails AA body text
Fails AAA body text
Passes AA large text
Black text on Chocolate
WCAG 2.2
5.78:1
APCA
Lc 40
Passes AA body text
Fails AAA body text
Passes AA large text
Check Chocolate against any other color in the contrast checker.
Chocolate sits at 63% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF7F2 and down to #0F0300, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#EA7F39
20% lighter
#FF9657
40% lighter
#FFB992
60% lighter
#FFD9C4
80% lighter
#FFF7F2
100% lighter
#A94E00
20% darker
#7E3800
40% darker
#552400
60% darker
#301100
80% darker
#0F0300
100% darker
Build a full accessible scale from #D2691E in the shade generator.
Hues rotated around #D2691E 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.
Chocolate sits at 50 degrees. Rotating it a half turn lands on 230 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 Chocolate at 20 and 80 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
50, 170 and 290 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 230 degrees, this pair flanks it at 200 and 260. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around Chocolate on the color wheel.
The biggest shift is under achromatopsia, where #D2691E reads as #7A7A7A, 27.3 CIEDE2000 units away. If Chocolate is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#886E1A
Deuteranopia
#A1831F
Tritanopia
#FA5653
Achromatopsia
#7A7A7A
The nearest CSS keywords to #D2691E, ranked by perceptual distance rather than by how close their hex digits happen to look.