Skip to content
Vectorlight.net

#285336

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

HEX
#285336
RGB
40, 83, 54
HSL
139.53°, 34.96%, 24.12%
OKLCH
0.4 0.07 152.74
Names
—
Lists

Codes

FormatValue
HEX#285336
RGBrgb(40 83 54)
HSLhsl(139.53 34.96% 24.12%)
OKLCHoklch(0.4 0.07 152.74)
CMYKcmyk(51.81% 0% 34.94% 67.45%)
Android#ff285336

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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