Skip to content
Vectorlight.net

#226a2b

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

HEX
#226a2b
RGB
34, 106, 43
HSL
127.5°, 51.43%, 27.45%
OKLCH
0.46 0.12 145.42
Names
—
Lists

Codes

FormatValue
HEX#226a2b
RGBrgb(34 106 43)
HSLhsl(127.5 51.43% 27.45%)
OKLCHoklch(0.46 0.12 145.42)
CMYKcmyk(67.92% 0% 59.43% 58.43%)
Android#ff226a2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #226a2b;
background-color: #226a2b;
bg-[#226a2b]