Skip to content
Vectorlight.net

#02742b

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

HEX
#02742b
RGB
2, 116, 43
HSL
141.58°, 96.61%, 23.14%
OKLCH
0.49 0.14 147.75
Names
—
Lists

Codes

FormatValue
HEX#02742b
RGBrgb(2 116 43)
HSLhsl(141.58 96.61% 23.14%)
OKLCHoklch(0.49 0.14 147.75)
CMYKcmyk(98.28% 0% 62.93% 54.51%)
Android#ff02742b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02742b;
background-color: #02742b;
bg-[#02742b]