Skip to content
Vectorlight.net

#228f55

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

HEX
#228f55
RGB
34, 143, 85
HSL
148.07°, 61.58%, 34.71%
OKLCH
0.58 0.13 154.64
Names
—
Lists

Codes

FormatValue
HEX#228f55
RGBrgb(34 143 85)
HSLhsl(148.07 61.58% 34.71%)
OKLCHoklch(0.58 0.13 154.64)
CMYKcmyk(76.22% 0% 40.56% 43.92%)
Android#ff228f55

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.12:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#228f55"
Gradient stop
<stop stop-color="#228f55"/>
CSS variable + fill
:root { --c: #228f55; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #228f55;
background-color: #228f55;
bg-[#228f55]