Skip to content
Vectorlight.net

#28641f

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

HEX
#28641f
RGB
40, 100, 31
HSL
112.17°, 52.67%, 25.69%
OKLCH
0.45 0.12 141.17
Names
—
Lists

Codes

FormatValue
HEX#28641f
RGBrgb(40 100 31)
HSLhsl(112.17 52.67% 25.69%)
OKLCHoklch(0.45 0.12 141.17)
CMYKcmyk(60% 0% 69% 60.78%)
Android#ff28641f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28641f;
background-color: #28641f;
bg-[#28641f]