Color #7f9933
A moderately saturated medium green.
Conversions
#7f9933
rgb(127, 153, 51)
hsl(75.3, 50%, 40%)
hsv(75.3, 66.7%, 60%)
cmyk(17%, 0%, 66.7%, 40%)
lab(59.46, -24.25, 48.67)
lch(59.46, 54.38, 116.48)
oklch(64.2%, 0.131, 122.4)
hwb(75.3, 20%, 40%)
Harmony colors
Accessibility
Black text reads better on this background (6.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8b8b5a · ΔE 10.6
Deuteranopia
#898761 · ΔE 13.4
Tritanopia
#806e72 · ΔE 35.4
Achromatopsia
#8f8f8f · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f9933;
bg-[#7f9933]
Related colors
Frequently asked questions
#7f9933 (#7f9933) is rgb(127, 153, 51) in RGB.
No, #7f9933 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 #7f9933, or check how it holds up for accessibility.