Color #8f8157
A muted medium yellow.
Conversions
#8f8157
rgb(143, 129, 87)
hsl(45, 24.3%, 45.1%)
hsv(45, 39.2%, 56.1%)
cmyk(0%, 9.8%, 39.2%, 43.9%)
lab(54.27, -1.1, 24.72)
lch(54.27, 24.74, 92.55)
oklch(60.5%, 0.0611, 91.78)
hwb(45, 34.1%, 43.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.45:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#898963 · ΔE 6.1
Deuteranopia
#8a8b66 · ΔE 6.8
Tritanopia
#8e6c6d · ΔE 23.3
Achromatopsia
#828282 · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8f8157;
bg-[#8f8157]
Related colors
Frequently asked questions
#8f8157 (#8f8157) is rgb(143, 129, 87) in RGB.
No, #8f8157 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 #8f8157, or check how it holds up for accessibility.