Color #796831
A moderately saturated dark yellow.
Conversions
#796831
rgb(121, 104, 49)
hsl(45.8, 42.4%, 33.3%)
hsv(45.8, 59.5%, 47.5%)
cmyk(0%, 14%, 59.5%, 52.5%)
lab(44.5, -0.61, 32.99)
lch(44.5, 33, 91.06)
oklch(52.1%, 0.0772, 92.38)
hwb(45.8, 19.2%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (5.47:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727243 · ΔE 7.2
Deuteranopia
#737447 · ΔE 8
Tritanopia
#784f51 · ΔE 26.4
Achromatopsia
#696969 · ΔE 18.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796831;
bg-[#796831]
Related colors
Frequently asked questions
#796831 (#796831) is rgb(121, 104, 49) in RGB.
No, #796831 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 #796831, or check how it holds up for accessibility.