Color #31301b
A muted very dark yellow.
Conversions
#31301b
rgb(49, 48, 27)
hsl(57.3, 28.9%, 14.9%)
hsv(57.3, 44.9%, 19.2%)
cmyk(0%, 2%, 44.9%, 80.8%)
lab(19.42, -3.54, 13.62)
lch(19.42, 14.07, 104.57)
oklch(30.4%, 0.0347, 105.88)
hwb(57.3, 10.6%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (13.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313121 · ΔE 2.2
Deuteranopia
#313123 · ΔE 3.1
Tritanopia
#312626 · ΔE 15.4
Achromatopsia
#2f2f2f · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31301b;
bg-[#31301b]
Related colors
Frequently asked questions
#31301b (#31301b) is rgb(49, 48, 27) in RGB.
No, #31301b 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 #31301b, or check how it holds up for accessibility.