Color #2a271d
A muted very dark yellow.
Conversions
#2a271d
rgb(42, 39, 29)
hsl(46.2, 18.3%, 13.9%)
hsv(46.2, 31%, 16.5%)
cmyk(0%, 7.1%, 31%, 83.5%)
lab(15.65, -0.69, 7.13)
lch(15.65, 7.16, 95.53)
oklch(27.3%, 0.0181, 93.48)
hwb(46.2, 11.4%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (14.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#292920 · ΔE 2.1
Deuteranopia
#292920 · ΔE 2.1
Tritanopia
#2a2222 · ΔE 8.3
Achromatopsia
#272727 · ΔE 6.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a271d;
bg-[#2a271d]
Related colors
Frequently asked questions
#2a271d (#2a271d) is rgb(42, 39, 29) in RGB.
No, #2a271d 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 #2a271d, or check how it holds up for accessibility.