Skip to content
Vectorlight.net

#286f35

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

HEX
#286f35
RGB
40, 111, 53
HSL
130.99°, 47.02%, 29.61%
OKLCH
0.48 0.11 147.03
Names
—
Lists

Codes

FormatValue
HEX#286f35
RGBrgb(40 111 53)
HSLhsl(130.99 47.02% 29.61%)
OKLCHoklch(0.48 0.11 147.03)
CMYKcmyk(63.96% 0% 52.25% 56.47%)
Android#ff286f35

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #286f35;
background-color: #286f35;
bg-[#286f35]