Color #5f5a42
A muted dark yellow.
Conversions
#5f5a42
rgb(95, 90, 66)
hsl(49.7, 18%, 31.6%)
hsv(49.7, 30.5%, 37.3%)
cmyk(0%, 5.3%, 30.5%, 62.7%)
lab(38.09, -2.26, 14.63)
lch(38.09, 14.8, 98.78)
oklch(46.6%, 0.0371, 97.74)
hwb(49.7, 25.9%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (6.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5d5d49 · ΔE 3.1
Deuteranopia
#5d5e4a · ΔE 3.6
Tritanopia
#5f4d4e · ΔE 17.2
Achromatopsia
#5a5a5a · ΔE 11.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f5a42;
bg-[#5f5a42]
Related colors
Frequently asked questions
#5f5a42 (#5f5a42) is rgb(95, 90, 66) in RGB.
No, #5f5a42 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 #5f5a42, or check how it holds up for accessibility.