Skip to content
Vectorlight.net

#28400d

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

HEX
#28400d
RGB
40, 64, 13
HSL
88.24°, 66.23%, 15.1%
OKLCH
0.34 0.08 131.46
Names
—
Lists

Codes

FormatValue
HEX#28400d
RGBrgb(40 64 13)
HSLhsl(88.24 66.23% 15.1%)
OKLCHoklch(0.34 0.08 131.46)
CMYKcmyk(37.5% 0% 79.69% 74.9%)
Android#ff28400d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28400d;
background-color: #28400d;
bg-[#28400d]