Color #403e31
A nearly neutral, gray-leaning dark yellow.
Conversions
#403e31
rgb(64, 62, 49)
hsl(52, 13.3%, 22.2%)
hsv(52, 23.4%, 25.1%)
cmyk(0%, 3.1%, 23.4%, 74.9%)
lab(26.03, -1.75, 8.32)
lch(26.03, 8.5, 101.88)
oklch(36.2%, 0.0216, 100.12)
hwb(52, 19.2%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (10.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f34 · ΔE 1.5
Deuteranopia
#3f3f35 · ΔE 1.8
Tritanopia
#403738 · ΔE 10.9
Achromatopsia
#3e3e3e · ΔE 7.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #403e31;
bg-[#403e31]
Related colors
Frequently asked questions
#403e31 (#403e31) is rgb(64, 62, 49) in RGB.
No, #403e31 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 #403e31, or check how it holds up for accessibility.