Skip to content
Vectorlight.net

#227724

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

HEX
#227724
RGB
34, 119, 36
HSL
121.41°, 55.56%, 30%
OKLCH
0.5 0.14 143.38
Names
—
Lists

Codes

FormatValue
HEX#227724
RGBrgb(34 119 36)
HSLhsl(121.41 55.56% 30%)
OKLCHoklch(0.5 0.14 143.38)
CMYKcmyk(71.43% 0% 69.75% 53.33%)
Android#ff227724

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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