Skip to content
Vectorlight.net

#40240c

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#40240c
RGB
64, 36, 12
HSL
27.69°, 68.42%, 14.9%
OKLCH
0.29 0.06 58.36
Names
—
Lists

Codes

FormatValue
HEX#40240c
RGBrgb(64 36 12)
HSLhsl(27.69 68.42% 14.9%)
OKLCHoklch(0.29 0.06 58.36)
CMYKcmyk(0% 43.75% 81.25% 74.9%)
Android#ff40240c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
14.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.47:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#40240c"
Gradient stop
<stop stop-color="#40240c"/>
CSS variable + fill
:root { --c: #40240c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #40240c;
background-color: #40240c;
bg-[#40240c]