Skip to content
Vectorlight.net

#197842

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

HEX
#197842
RGB
25, 120, 66
HSL
145.89°, 65.52%, 28.43%
OKLCH
0.51 0.12 152.89
Names
—
Lists

Codes

FormatValue
HEX#197842
RGBrgb(25 120 66)
HSLhsl(145.89 65.52% 28.43%)
OKLCHoklch(0.51 0.12 152.89)
CMYKcmyk(79.17% 0% 45% 52.94%)
Android#ff197842

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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