Skip to content
Vectorlight.net

#21682d

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

HEX
#21682d
RGB
33, 104, 45
HSL
130.14°, 51.82%, 26.86%
OKLCH
0.46 0.12 146.38
Names
—
Lists

Codes

FormatValue
HEX#21682d
RGBrgb(33 104 45)
HSLhsl(130.14 51.82% 26.86%)
OKLCHoklch(0.46 0.12 146.38)
CMYKcmyk(68.27% 0% 56.73% 59.22%)
Android#ff21682d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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