Skip to content
Vectorlight.net

#28704a

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

HEX
#28704a
RGB
40, 112, 74
HSL
148.33°, 47.37%, 29.8%
OKLCH
0.49 0.09 156.91
Names
—
Lists

Codes

FormatValue
HEX#28704a
RGBrgb(40 112 74)
HSLhsl(148.33 47.37% 29.8%)
OKLCHoklch(0.49 0.09 156.91)
CMYKcmyk(64.29% 0% 33.93% 56.08%)
Android#ff28704a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28704a;
background-color: #28704a;
bg-[#28704a]