Skip to content
Vectorlight.net

#6c997d

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

HEX
#6c997d
RGB
108, 153, 125
HSL
142.67°, 18.07%, 51.18%
OKLCH
0.64 0.06 156.75
Names
—
Lists

Codes

FormatValue
HEX#6c997d
RGBrgb(108 153 125)
HSLhsl(142.67 18.07% 51.18%)
OKLCHoklch(0.64 0.06 156.75)
CMYKcmyk(29.41% 0% 18.3% 40%)
Android#ff6c997d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.49:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

color / background
color: #6c997d;
background-color: #6c997d;
bg-[#6c997d]