Color #474840
A nearly neutral, gray-leaning dark yellow.
Conversions
#474840
rgb(71, 72, 64)
hsl(67.5, 5.9%, 26.7%)
hsv(67.5, 11.1%, 28.2%)
cmyk(1.4%, 0%, 11.1%, 71.8%)
lab(30.27, -2.11, 4.66)
lch(30.27, 5.12, 114.36)
oklch(39.8%, 0.0131, 112.85)
hwb(67.5, 25.1%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (9.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#474742 · ΔE 1.9
Deuteranopia
#474743 · ΔE 2.5
Tritanopia
#474444 · ΔE 6.2
Achromatopsia
#474747 · ΔE 5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #474840;
bg-[#474840]
Related colors
Frequently asked questions
#474840 (#474840) is rgb(71, 72, 64) in RGB.
No, #474840 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 #474840, or check how it holds up for accessibility.