Skip to content
Vectorlight.net

#668e2a

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

HEX
#668e2a
RGB
102, 142, 42
HSL
84°, 54.35%, 36.08%
OKLCH
0.6 0.14 128.79
Names
—
Lists

Codes

FormatValue
HEX#668e2a
RGBrgb(102 142 42)
HSLhsl(84 54.35% 36.08%)
OKLCHoklch(0.6 0.14 128.79)
CMYKcmyk(28.17% 0% 70.42% 44.31%)
Android#ff668e2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #668e2a;
background-color: #668e2a;
bg-[#668e2a]