Color #5b501f
A moderately saturated dark yellow.
Conversions
#5b501f
rgb(91, 80, 31)
hsl(49, 49.2%, 23.9%)
hsv(49, 65.9%, 35.7%)
cmyk(0%, 12.1%, 65.9%, 64.3%)
lab(34.11, -2.19, 29.85)
lch(34.11, 29.93, 94.2)
oklch(43.1%, 0.0691, 96.73)
hwb(49, 12.2%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (8.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#565630 · ΔE 5.8
Deuteranopia
#575833 · ΔE 6.5
Tritanopia
#5a3a3c · ΔE 25.6
Achromatopsia
#505050 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b501f;
bg-[#5b501f]
Related colors
Frequently asked questions
#5b501f (#5b501f) is rgb(91, 80, 31) in RGB.
No, #5b501f 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 #5b501f, or check how it holds up for accessibility.