Skip to content
Vectorlight.net

#286f4f

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

HEX
#286f4f
RGB
40, 111, 79
HSL
152.96°, 47.02%, 29.61%
OKLCH
0.49 0.09 160.77
Names
—
Lists

Codes

FormatValue
HEX#286f4f
RGBrgb(40 111 79)
HSLhsl(152.96 47.02% 29.61%)
OKLCHoklch(0.49 0.09 160.77)
CMYKcmyk(63.96% 0% 28.83% 56.47%)
Android#ff286f4f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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