Skip to content
Vectorlight.net

#228402

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

HEX
#228402
RGB
34, 132, 2
HSL
105.23°, 97.01%, 26.27%
OKLCH
0.54 0.17 140.52
Names
—
Lists

Codes

FormatValue
HEX#228402
RGBrgb(34 132 2)
HSLhsl(105.23 97.01% 26.27%)
OKLCHoklch(0.54 0.17 140.52)
CMYKcmyk(74.24% 0% 98.48% 48.24%)
Android#ff228402

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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