Skip to content
Kolorvia
#9e8c42

Color #9e8c42

A moderately saturated medium yellow.

Conversions

HEX
#9e8c42
RGB
rgb(158, 140, 66)
HSL
hsl(48.3, 41.1%, 43.9%)
HSV / HSB
hsv(48.3, 58.2%, 62%)
CMYK
cmyk(0%, 11.4%, 58.2%, 38%)
LAB
lab(58.43, -2.78, 41.33)
LCH
lch(58.43, 41.42, 93.85)
OKLCH
oklch(64.1%, 0.0968, 95.87)
HWB
hwb(48.3, 25.9%, 38%)

Harmony colors

Complementary

#42549e

Analogous

#9e5e42
#9e8c42
#829e42

Triadic

#9e8c42
#429e8c
#8c429e

Split-complementary

#9e8c42
#42829e
#5e429e

Tetradic

#9e8c42
#549e42
#42549e
#8c429e

Square

#9e8c42
#429e5e
#42549e
#9e4282

Shades

Color #9e8c42 mixed toward black.

#847537
#695d2c
#4f4621
#352f16
#1a170b

Tints

Color #9e8c42 mixed toward white.

#b9a657
#c7b878
#d5c99a
#e3dbbc
#f1eddd

Tones

Color #9e8c42 mixed toward gray.

#96874a
#8f8351
#877e59
#7f7961
#787568

Accessibility

Aa White text on this color
3.34:1
Aa Black text on this color
6.28:1

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

Under color vision deficiencies

Protanopia

#97965b · ΔE 6.8

Deuteranopia

#989960 · ΔE 7.9

Tritanopia

#9d6a6d · ΔE 31.3

Achromatopsia

#8c8c8c · ΔE 21.5

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

Code

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

Related colors

Cornsilk #fff8dc
Gold #ffd700
Goldenrod #daa520
Dark Goldenrod #b8860b
Khaki #f0e68c
Lemon Chiffon #fffacd

Frequently asked questions

#9e8c42 (#9e8c42) is rgb(158, 140, 66) in RGB.

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