Color #7b7f21
A moderately saturated dark yellow.
Conversions
#7b7f21
rgb(123, 127, 33)
hsl(62.6, 58.8%, 31.4%)
hsv(62.6, 74%, 49.8%)
cmyk(3.1%, 0%, 74%, 50.2%)
lab(51.27, -13.68, 47.57)
lch(51.27, 49.5, 106.04)
oklch(57.5%, 0.1136, 111.91)
hwb(62.6, 12.9%, 50.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7d7d47 · ΔE 6.7
Deuteranopia
#7d7c4d · ΔE 8.4
Tritanopia
#7b595d · ΔE 35.6
Achromatopsia
#7a7a7a · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7b7f21;
bg-[#7b7f21]
Related colors
Frequently asked questions
#7b7f21 (#7b7f21) is rgb(123, 127, 33) in RGB.
No, #7b7f21 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 #7b7f21, or check how it holds up for accessibility.