Skip to content
Vectorlight.net

#18402e

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

HEX
#18402e
RGB
24, 64, 46
HSL
153°, 45.45%, 17.25%
OKLCH
0.34 0.06 161.7
Names
—
Lists

Codes

FormatValue
HEX#18402e
RGBrgb(24 64 46)
HSLhsl(153 45.45% 17.25%)
OKLCHoklch(0.34 0.06 161.7)
CMYKcmyk(62.5% 0% 28.13% 74.9%)
Android#ff18402e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #18402e;
background-color: #18402e;
bg-[#18402e]