Skip to content
Vectorlight.net

#227212

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

HEX
#227212
RGB
34, 114, 18
HSL
110°, 72.73%, 25.88%
OKLCH
0.49 0.15 140.9
Names
—
Lists

Codes

FormatValue
HEX#227212
RGBrgb(34 114 18)
HSLhsl(110 72.73% 25.88%)
OKLCHoklch(0.49 0.15 140.9)
CMYKcmyk(70.18% 0% 84.21% 55.29%)
Android#ff227212

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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