Skip to content
Vectorlight.net

#287f32

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

HEX
#287f32
RGB
40, 127, 50
HSL
126.9°, 52.1%, 32.75%
OKLCH
0.53 0.14 145.09
Names
—
Lists

Codes

FormatValue
HEX#287f32
RGBrgb(40 127 50)
HSLhsl(126.9 52.1% 32.75%)
OKLCHoklch(0.53 0.14 145.09)
CMYKcmyk(68.5% 0% 60.63% 50.2%)
Android#ff287f32

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #287f32;
background-color: #287f32;
bg-[#287f32]