Skip to content
Vectorlight.net

#154140

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

HEX
#154140
RGB
21, 65, 64
HSL
178.64°, 51.16%, 16.86%
OKLCH
0.34 0.05 193.08
Names
—
Lists

Codes

FormatValue
HEX#154140
RGBrgb(21 65 64)
HSLhsl(178.64 51.16% 16.86%)
OKLCHoklch(0.34 0.05 193.08)
CMYKcmyk(67.69% 0% 1.54% 74.51%)
Android#ff154140

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #154140;
background-color: #154140;
bg-[#154140]