Skip to content
Kolorvia
#403a1f

Color #403a1f

A muted very dark yellow.

Conversions

HEX
#403a1f
RGB
rgb(64, 58, 31)
HSL
hsl(49.1, 34.7%, 18.6%)
HSV / HSB
hsv(49.1, 51.6%, 25.1%)
CMYK
cmyk(0%, 9.4%, 51.6%, 74.9%)
LAB
lab(24.37, -1.93, 17.68)
LCH
lch(24.37, 17.79, 96.23)
OKLCH
oklch(34.7%, 0.043, 97.21)
HWB
hwb(49.1, 12.2%, 74.9%)

Harmony colors

Complementary

#1f2540

Analogous

#40291f
#403a1f
#35401f

Triadic

#403a1f
#1f403a
#3a1f40

Split-complementary

#403a1f
#1f3540
#291f40

Tetradic

#403a1f
#25401f
#1f2540
#3a1f40

Square

#403a1f
#1f4029
#1f2540
#401f35

Shades

Color #403a1f mixed toward black.

#35301a
#2b2715
#201d0f
#15130a
#0b0a05

Tints

Color #403a1f mixed toward white.

#6e6436
#9d8e4c
#bbae73
#d2c9a2
#e8e4d0

Tones

Color #403a1f mixed toward gray.

#3d3822
#3a3624
#383527
#35332a
#32312d

Accessibility

Aa White text on this color
11.39:1
Aa Black text on this color
1.84:1

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

Under color vision deficiencies

Protanopia

#3d3d27 · ΔE 3.9

Deuteranopia

#3e3e29 · ΔE 4.2

Tritanopia

#402d2e · ΔE 18.8

Achromatopsia

#3a3a3a · ΔE 12.8

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

Code

CSS
background-color: #403a1f;
Tailwind (arbitrary value)
bg-[#403a1f]

Related colors

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

Frequently asked questions

#403a1f (#403a1f) is rgb(64, 58, 31) in RGB.

No, #403a1f 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 #403a1f, 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.