Skip to content
Kolorvia
#40340d

Color #40340d

A moderately saturated very dark yellow.

Conversions

HEX
#40340d
RGB
rgb(64, 52, 13)
HSL
hsl(45.9, 66.2%, 15.1%)
HSV / HSB
hsv(45.9, 79.7%, 25.1%)
CMYK
cmyk(0%, 18.8%, 79.7%, 74.9%)
LAB
lab(22.21, 0.27, 25.56)
LCH
lch(22.21, 25.56, 89.39)
OKLCH
oklch(33%, 0.0572, 91.6)
HWB
hwb(45.9, 5.1%, 74.9%)

Harmony colors

Complementary

#0d1940

Analogous

#401b0d
#40340d
#32400d

Triadic

#40340d
#0d4034
#340d40

Split-complementary

#40340d
#0d3240
#1b0d40

Tetradic

#40340d
#19400d
#0d1940
#340d40

Square

#40340d
#0d401b
#0d1940
#400d32

Shades

Color #40340d mixed toward black.

#352b0b
#2b2309
#201a07
#151104
#0b0902

Tints

Color #40340d mixed toward white.

#7c6519
#b89525
#dab94b
#e7d087
#f3e8c3

Tones

Color #40340d mixed toward gray.

#3c3211
#373016
#332d1a
#2f2b1e
#2b2922

Accessibility

Aa White text on this color
12.24:1
Aa Black text on this color
1.72:1

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

Under color vision deficiencies

Protanopia

#3b3b1c · ΔE 6.9

Deuteranopia

#3c3d1e · ΔE 7.6

Tritanopia

#3f2325 · ΔE 22.3

Achromatopsia

#353535 · ΔE 16.2

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

Code

CSS
background-color: #40340d;
Tailwind (arbitrary value)
bg-[#40340d]

Related colors

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

Frequently asked questions

#40340d (#40340d) is rgb(64, 52, 13) in RGB.

No, #40340d 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 #40340d, 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.