Skip to content
Vectorlight.net

#240f07

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

HEX
#240f07
RGB
36, 15, 7
HSL
16.55°, 67.44%, 8.43%
OKLCH
0.2 0.04 41.88
Names
—
Lists

Codes

FormatValue
HEX#240f07
RGBrgb(36 15 7)
HSLhsl(16.55 67.44% 8.43%)
OKLCHoklch(0.2 0.04 41.88)
CMYKcmyk(0% 58.33% 80.56% 85.88%)
Android#ff240f07

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
18.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.14: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="#240f07"
Gradient stop
<stop stop-color="#240f07"/>
CSS variable + fill
:root { --c: #240f07; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #240f07;
background-color: #240f07;
bg-[#240f07]