Skip to content
Kolorvia
#2a281f

Color #2a281f

A muted very dark yellow.

Conversions

HEX
#2a281f
RGB
rgb(42, 40, 31)
HSL
hsl(49.1, 15.1%, 14.3%)
HSV / HSB
hsv(49.1, 26.2%, 16.5%)
CMYK
cmyk(0%, 4.8%, 26.2%, 83.5%)
LAB
lab(16.05, -1, 6.27)
LCH
lch(16.05, 6.35, 99.06)
OKLCH
oklch(27.6%, 0.0162, 96.73)
HWB
hwb(49.1, 12.2%, 83.5%)

Harmony colors

Complementary

#1f212a

Analogous

#2a221f
#2a281f
#262a1f

Triadic

#2a281f
#1f2a28
#281f2a

Split-complementary

#2a281f
#1f262a
#221f2a

Tetradic

#2a281f
#212a1f
#1f212a
#281f2a

Square

#2a281f
#1f2a22
#1f212a
#2a1f26

Shades

Color #2a281f mixed toward black.

#23211a
#1c1b15
#15140f
#0e0d0a
#070705

Tints

Color #2a281f mixed toward white.

#54503e
#7e785d
#a29c81
#c1bdab
#e0ded5

Tones

Color #2a281f mixed toward gray.

#292720
#282721
#272622
#262623
#252524

Accessibility

Aa White text on this color
14.77:1
Aa Black text on this color
1.42:1

White text reads better on this background (14.77:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#292921 · ΔE 1.4

Deuteranopia

#292922 · ΔE 1.6

Tritanopia

#2a2324 · ΔE 8.4

Achromatopsia

#282828 · ΔE 5.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

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

Related colors

Cornsilk #fff8dc
Gold #ffd700
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Goldenrod #daa520

Frequently asked questions

#2a281f (#2a281f) is rgb(42, 40, 31) in RGB.

No, #2a281f is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #2a281f, 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.