Skip to content
Kolorvia
#8f8731

Color #8f8731

A moderately saturated dark yellow.

Conversions

HEX
#8f8731
RGB
rgb(143, 135, 49)
HSL
hsl(54.9, 49%, 37.6%)
HSV / HSB
hsv(54.9, 65.7%, 56.1%)
CMYK
cmyk(0%, 5.6%, 65.7%, 43.9%)
LAB
lab(55.47, -7.99, 45.72)
LCH
lch(55.47, 46.41, 99.91)
OKLCH
oklch(61.3%, 0.1069, 103.97)
HWB
hwb(54.9, 19.2%, 43.9%)

Harmony colors

Complementary

#31398f

Analogous

#8f5831
#8f8731
#688f31

Triadic

#8f8731
#318f87
#87318f

Split-complementary

#8f8731
#31688f
#58318f

Tetradic

#8f8731
#398f31
#31398f
#87318f

Square

#8f8731
#318f58
#31398f
#8f3168

Shades

Color #8f8731 mixed toward black.

#777029
#5f5a21
#474318
#302d10
#181608

Tints

Color #8f8731 mixed toward white.

#b6ac3e
#c9c061
#d6d088
#e4e0b0
#f1efd7

Tones

Color #8f8731 mixed toward gray.

#878039
#7f7a41
#777348
#706d50
#686658

Accessibility

Aa White text on this color
3.7:1
Aa Black text on this color
5.68:1

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

Under color vision deficiencies

Protanopia

#8c8c51 · ΔE 5.9

Deuteranopia

#8c8d57 · ΔE 7.1

Tritanopia

#8f6265 · ΔE 34.2

Achromatopsia

#858585 · ΔE 22.8

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

Code

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

Related colors

Pale Goldenrod #eee8aa
Dark Khaki #bdb76b
Khaki #f0e68c
Lemon Chiffon #fffacd
Gold #ffd700
Ivory #fffff0

Frequently asked questions

#8f8731 (#8f8731) is rgb(143, 135, 49) in RGB.

No, #8f8731 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #8f8731, 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.