Color #40340d
A moderately saturated very dark yellow.
Conversions
#40340d
rgb(64, 52, 13)
hsl(45.9, 66.2%, 15.1%)
hsv(45.9, 79.7%, 25.1%)
cmyk(0%, 18.8%, 79.7%, 74.9%)
lab(22.21, 0.27, 25.56)
lch(22.21, 25.56, 89.39)
oklch(33%, 0.0572, 91.6)
hwb(45.9, 5.1%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (12.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3b1c · ΔE 6.9
Deuteranopia
#3c3d1e · ΔE 7.6
Tritanopia
#3f2325 · ΔE 22.3
Achromatopsia
#353535 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40340d;
bg-[#40340d]
Related colors
Frequently asked questions
#40340d (#40340d) is rgb(64, 52, 13) in RGB.
No, #40340d 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 #40340d, or check how it holds up for accessibility.