Color #4f501f
A moderately saturated dark yellow.
Conversions
#4f501f
rgb(79, 80, 31)
hsl(61.2, 44.1%, 21.8%)
hsv(61.2, 61.2%, 31.4%)
cmyk(1.2%, 0%, 61.2%, 68.6%)
lab(32.92, -8.06, 28.19)
lch(32.92, 29.32, 105.96)
oklch(41.9%, 0.0697, 110.15)
hwb(61.2, 12.2%, 68.6%)
Harmony colors
Accessibility
White text reads better on this background (8.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4f4f30 · ΔE 4.9
Deuteranopia
#4f4f33 · ΔE 5.9
Tritanopia
#4f3a3c · ΔE 27
Achromatopsia
#4d4d4d · ΔE 18.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4f501f;
bg-[#4f501f]
Related colors
Frequently asked questions
#4f501f (#4f501f) is rgb(79, 80, 31) in RGB.
No, #4f501f 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 #4f501f, or check how it holds up for accessibility.