Skip to content
Vectorlight.net

#027f04

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

HEX
#027f04
RGB
2, 127, 4
HSL
120.96°, 96.9%, 25.29%
OKLCH
0.52 0.17 142.62
Names
—
Lists

Codes

FormatValue
HEX#027f04
RGBrgb(2 127 4)
HSLhsl(120.96 96.9% 25.29%)
OKLCHoklch(0.52 0.17 142.62)
CMYKcmyk(98.43% 0% 96.85% 50.2%)
Android#ff027f04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #027f04;
background-color: #027f04;
bg-[#027f04]