Color #31341d
A muted very dark yellow.
Conversions
#31341d
rgb(49, 52, 29)
hsl(67.8, 28.4%, 15.9%)
hsv(67.8, 44.2%, 20.4%)
cmyk(5.8%, 0%, 44.2%, 79.6%)
lab(20.82, -5.83, 14.13)
lch(20.82, 15.29, 112.42)
oklch(31.5%, 0.0382, 114.62)
hwb(67.8, 11.4%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (12.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323224 · ΔE 4.3
Deuteranopia
#323225 · ΔE 4.7
Tritanopia
#31292a · ΔE 16.8
Achromatopsia
#323232 · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31341d;
bg-[#31341d]
Related colors
Frequently asked questions
#31341d (#31341d) is rgb(49, 52, 29) in RGB.
No, #31341d 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 #31341d, or check how it holds up for accessibility.