Skip to content
Vectorlight.net

#28521e

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

HEX
#28521e
RGB
40, 82, 30
HSL
108.46°, 46.43%, 21.96%
OKLCH
0.39 0.09 139.88
Names
—
Lists

Codes

FormatValue
HEX#28521e
RGBrgb(40 82 30)
HSLhsl(108.46 46.43% 21.96%)
OKLCHoklch(0.39 0.09 139.88)
CMYKcmyk(51.22% 0% 63.41% 67.84%)
Android#ff28521e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28521e;
background-color: #28521e;
bg-[#28521e]