Skip to content
Vectorlight.net

#21682e

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

HEX
#21682e
RGB
33, 104, 46
HSL
130.99°, 51.82%, 26.86%
OKLCH
0.46 0.11 146.71
Names
—
Lists

Codes

FormatValue
HEX#21682e
RGBrgb(33 104 46)
HSLhsl(130.99 51.82% 26.86%)
OKLCHoklch(0.46 0.11 146.71)
CMYKcmyk(68.27% 0% 55.77% 59.22%)
Android#ff21682e

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="#21682e"
Gradient stop
<stop stop-color="#21682e"/>
CSS variable + fill
:root { --c: #21682e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #21682e;
background-color: #21682e;
bg-[#21682e]