Color #7b871e
A moderately saturated dark yellow.
Conversions
#7b871e
rgb(123, 135, 30)
hsl(66.9, 63.6%, 32.4%)
hsv(66.9, 77.8%, 52.9%)
cmyk(8.9%, 0%, 77.8%, 47.1%)
lab(53.64, -18.07, 50.89)
lch(53.64, 54, 109.55)
oklch(59.4%, 0.1246, 116.13)
hwb(66.9, 11.8%, 47.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.33:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#80804a · ΔE 8.3
Deuteranopia
#807f51 · ΔE 10.2
Tritanopia
#7c5e62 · ΔE 36.9
Achromatopsia
#808080 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7b871e;
bg-[#7b871e]
Related colors
Frequently asked questions
#7b871e (#7b871e) is rgb(123, 135, 30) in RGB.
No, #7b871e 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 #7b871e, or check how it holds up for accessibility.