Skip to content
Kolorvia
#9e8e42

Color #9e8e42

A moderately saturated medium yellow.

Conversions

HEX
#9e8e42
RGB
rgb(158, 142, 66)
HSL
hsl(49.6, 41.1%, 43.9%)
HSV / HSB
hsv(49.6, 58.2%, 62%)
CMYK
cmyk(0%, 10.1%, 58.2%, 38%)
LAB
lab(58.98, -3.88, 41.96)
LCH
lch(58.98, 42.14, 95.28)
OKLCH
oklch(64.5%, 0.0986, 97.58)
HWB
hwb(49.6, 25.9%, 38%)

Harmony colors

Complementary

#42529e

Analogous

#9e6042
#9e8e42
#809e42

Triadic

#9e8e42
#429e8e
#8e429e

Split-complementary

#9e8e42
#42809e
#60429e

Tetradic

#9e8e42
#529e42
#42529e
#8e429e

Square

#9e8e42
#429e60
#42529e
#9e4280

Shades

Color #9e8e42 mixed toward black.

#847637
#695f2c
#4f4721
#352f16
#1a180b

Tints

Color #9e8e42 mixed toward white.

#b9a857
#c7b978
#d5cb9a
#e3dcbc
#f1eedd

Tones

Color #9e8e42 mixed toward gray.

#96894a
#8f8451
#877f59
#7f7a61
#787568

Accessibility

Aa White text on this color
3.28:1
Aa Black text on this color
6.4:1

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

Under color vision deficiencies

Protanopia

#97975c · ΔE 6.6

Deuteranopia

#989961 · ΔE 7.5

Tritanopia

#9d6b6e · ΔE 31.9

Achromatopsia

#8e8e8e · ΔE 21.7

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

Code

CSS
background-color: #9e8e42;
Tailwind (arbitrary value)
bg-[#9e8e42]

Related colors

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

Frequently asked questions

#9e8e42 (#9e8e42) is rgb(158, 142, 66) in RGB.

No, #9e8e42 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 #9e8e42, 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.