Skip to content
Vectorlight.net

#28730c

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

HEX
#28730c
RGB
40, 115, 12
HSL
103.69°, 81.1%, 24.9%
OKLCH
0.49 0.15 139.5
Names
—
Lists

Codes

FormatValue
HEX#28730c
RGBrgb(40 115 12)
HSLhsl(103.69 81.1% 24.9%)
OKLCHoklch(0.49 0.15 139.5)
CMYKcmyk(65.22% 0% 89.57% 54.9%)
Android#ff28730c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28730c;
background-color: #28730c;
bg-[#28730c]