Color #7a8726
A moderately saturated dark yellow.
Conversions
#7a8726
rgb(122, 135, 38)
hsl(68, 56.1%, 33.9%)
hsv(68, 71.9%, 52.9%)
cmyk(9.6%, 0%, 71.9%, 47.1%)
lab(53.61, -18.09, 47.89)
lch(53.61, 51.19, 110.69)
oklch(59.4%, 0.1199, 116.82)
hwb(68, 14.9%, 47.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#80804d · ΔE 8.3
Deuteranopia
#7f7e53 · ΔE 10.2
Tritanopia
#7b6063 · ΔE 35.3
Achromatopsia
#808080 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7a8726;
bg-[#7a8726]
Related colors
Frequently asked questions
#7a8726 (#7a8726) is rgb(122, 135, 38) in RGB.
No, #7a8726 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 #7a8726, or check how it holds up for accessibility.