Color #787042
A muted dark yellow.
Conversions
#787042
rgb(120, 112, 66)
hsl(51.1, 29%, 36.5%)
hsv(51.1, 45%, 47.1%)
cmyk(0%, 6.7%, 45%, 52.9%)
lab(46.94, -3.99, 26.64)
lch(46.94, 26.94, 98.52)
oklch(54.1%, 0.0655, 99.66)
hwb(51.1, 25.9%, 52.9%)
Harmony colors
Accessibility
White text reads better on this background (5.01:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#757550 · ΔE 4.4
Deuteranopia
#757653 · ΔE 5.2
Tritanopia
#78595b · ΔE 25.9
Achromatopsia
#6f6f6f · ΔE 16.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787042;
bg-[#787042]
Related colors
Frequently asked questions
#787042 (#787042) is rgb(120, 112, 66) in RGB.
No, #787042 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 #787042, or check how it holds up for accessibility.