Skip to content
Kolorvia
#8a7f42

Color #8a7f42

A muted medium yellow.

Conversions

HEX
#8a7f42
RGB
rgb(138, 127, 66)
HSL
hsl(50.8, 35.3%, 40%)
HSV / HSB
hsv(50.8, 52.2%, 54.1%)
CMYK
cmyk(0%, 8%, 52.2%, 45.9%)
LAB
lab(52.92, -4.45, 34.38)
LCH
lch(52.92, 34.67, 97.38)
OKLCH
oklch(59.3%, 0.0827, 99.33)
HWB
hwb(50.8, 25.9%, 45.9%)

Harmony colors

Complementary

#424d8a

Analogous

#8a5b42
#8a7f42
#718a42

Triadic

#8a7f42
#428a7f
#7f428a

Split-complementary

#8a7f42
#42718a
#5b428a

Tetradic

#8a7f42
#4d8a42
#424d8a
#7f428a

Square

#8a7f42
#428a5b
#424d8a
#8a4271

Shades

Color #8a7f42 mixed toward black.

#736a37
#5c552c
#453f21
#2e2a16
#17150b

Tints

Color #8a7f42 mixed toward white.

#ad9f52
#bdb275
#cec597
#ded8ba
#efecdc

Tones

Color #8a7f42 mixed toward gray.

#847b48
#7e774e
#787254
#726e5a
#6c6a60

Accessibility

Aa White text on this color
4.04:1
Aa Black text on this color
5.2:1

Black text reads better on this background (5.2:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#858556 · ΔE 5.4

Deuteranopia

#86875a · ΔE 6.2

Tritanopia

#896265 · ΔE 29.3

Achromatopsia

#7e7e7e · ΔE 19.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #8a7f42;
Tailwind (arbitrary value)
bg-[#8a7f42]

Related colors

Gold #ffd700
Cornsilk #fff8dc
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Dark Khaki #bdb76b

Frequently asked questions

#8a7f42 (#8a7f42) is rgb(138, 127, 66) in RGB.

No, #8a7f42 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #8a7f42, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.