Skip to content
Kolorvia
#8c8a7f

Color #8c8a7f

A nearly neutral, gray-leaning medium yellow.

Conversions

HEX
#8c8a7f
RGB
rgb(140, 138, 127)
HSL
hsl(50.8, 5.3%, 52.4%)
HSV / HSB
hsv(50.8, 9.3%, 54.9%)
CMYK
cmyk(0%, 1.4%, 9.3%, 45.1%)
LAB
lab(57.35, -1.31, 6.15)
LCH
lch(57.35, 6.29, 102.02)
OKLCH
oklch(63.2%, 0.0163, 98.48)
HWB
hwb(50.8, 49.8%, 45.1%)

Harmony colors

Complementary

#7f818c

Analogous

#8c847f
#8c8a7f
#888c7f

Triadic

#8c8a7f
#7f8c8a
#8a7f8c

Split-complementary

#8c8a7f
#7f888c
#847f8c

Tetradic

#8c8a7f
#818c7f
#7f818c
#8a7f8c

Square

#8c8a7f
#7f8c84
#7f818c
#8c7f88

Shades

Color #8c8a7f mixed toward black.

#757369
#5e5c54
#46453f
#2f2e2a
#171715

Tints

Color #8c8a7f mixed toward white.

#9f9e94
#b2b1aa
#c6c5bf
#d9d8d4
#ececea

Tones

Color #8c8a7f mixed toward gray.

#8b8980
#8a8981
#898882
#888783
#878685

Accessibility

Aa White text on this color
3.47:1
Aa Black text on this color
6.06:1

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

Under color vision deficiencies

Protanopia

#8b8b82 · ΔE 1.3

Deuteranopia

#8b8b82 · ΔE 1.3

Tritanopia

#8c8484 · ΔE 7.9

Achromatopsia

#8a8a8a · ΔE 5.6

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

Code

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

Related colors

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

Frequently asked questions

#8c8a7f (#8c8a7f) is rgb(140, 138, 127) in RGB.

No, #8c8a7f 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 #8c8a7f, 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.