Skip to content
Vectorlight.net

#227018

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

HEX
#227018
RGB
34, 112, 24
HSL
113.18°, 64.71%, 26.67%
OKLCH
0.48 0.14 141.52
Names
—
Lists

Codes

FormatValue
HEX#227018
RGBrgb(34 112 24)
HSLhsl(113.18 64.71% 26.67%)
OKLCHoklch(0.48 0.14 141.52)
CMYKcmyk(69.64% 0% 78.57% 56.08%)
Android#ff227018

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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