Skip to content
Vectorlight.net

#286221

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

HEX
#286221
RGB
40, 98, 33
HSL
113.54°, 49.62%, 25.69%
OKLCH
0.44 0.11 141.56
Names
—
Lists

Codes

FormatValue
HEX#286221
RGBrgb(40 98 33)
HSLhsl(113.54 49.62% 25.69%)
OKLCHoklch(0.44 0.11 141.56)
CMYKcmyk(59.18% 0% 66.33% 61.57%)
Android#ff286221

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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