Skip to content
Kolorvia
#2a271d

Color #2a271d

A muted very dark yellow.

Conversions

HEX
#2a271d
RGB
rgb(42, 39, 29)
HSL
hsl(46.2, 18.3%, 13.9%)
HSV / HSB
hsv(46.2, 31%, 16.5%)
CMYK
cmyk(0%, 7.1%, 31%, 83.5%)
LAB
lab(15.65, -0.69, 7.13)
LCH
lch(15.65, 7.16, 95.53)
OKLCH
oklch(27.3%, 0.0181, 93.48)
HWB
hwb(46.2, 11.4%, 83.5%)

Harmony colors

Complementary

#1d202a

Analogous

#2a201d
#2a271d
#262a1d

Triadic

#2a271d
#1d2a27
#271d2a

Split-complementary

#2a271d
#1d262a
#201d2a

Tetradic

#2a271d
#202a1d
#1d202a
#271d2a

Square

#2a271d
#1d2a20
#1d202a
#2a1d26

Shades

Color #2a271d mixed toward black.

#232018
#1c1a13
#15130e
#0e0d0a
#070605

Tints

Color #2a271d mixed toward white.

#554f3b
#817759
#a59c7d
#c3bda8
#e1ded4

Tones

Color #2a271d mixed toward gray.

#29261e
#28261f
#272520
#262521
#252422

Accessibility

Aa White text on this color
14.93:1
Aa Black text on this color
1.41:1

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

CSS
background-color: #2a271d;
Tailwind (arbitrary value)
bg-[#2a271d]

Related colors

Cornsilk #fff8dc
Goldenrod #daa520
Dark Goldenrod #b8860b
Gold #ffd700
Floral White #fffaf0
Old Lace #fdf5e6

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

Build something with this color

Generate a full palette from #2a271d, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.