Skip to content
Vectorlight.net

#286648

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

HEX
#286648
RGB
40, 102, 72
HSL
150.97°, 43.66%, 27.84%
OKLCH
0.46 0.08 159.6
Names
—
Lists

Codes

FormatValue
HEX#286648
RGBrgb(40 102 72)
HSLhsl(150.97 43.66% 27.84%)
OKLCHoklch(0.46 0.08 159.6)
CMYKcmyk(60.78% 0% 29.41% 60%)
Android#ff286648

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #286648;
background-color: #286648;
bg-[#286648]