Color #8b8142
A muted medium yellow.
Conversions
#8b8142
rgb(139, 129, 66)
hsl(51.8, 35.6%, 40.2%)
hsv(51.8, 52.5%, 54.5%)
cmyk(0%, 7.2%, 52.5%, 45.5%)
lab(53.58, -5.12, 35.19)
lch(53.58, 35.56, 98.28)
oklch(59.8%, 0.0847, 100.41)
hwb(51.8, 25.9%, 45.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878757 · ΔE 5.2
Deuteranopia
#87885b · ΔE 6.1
Tritanopia
#8b6366 · ΔE 29.9
Achromatopsia
#808080 · ΔE 19.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8b8142;
bg-[#8b8142]
Related colors
Frequently asked questions
#8b8142 (#8b8142) is rgb(139, 129, 66) in RGB.
No, #8b8142 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #8b8142, or check how it holds up for accessibility.