Skip to content
Vectorlight.net

#afcf8e

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

HEX
#afcf8e
RGB
175, 207, 142
HSL
89.54°, 40.37%, 68.43%
OKLCH
0.81 0.09 129.58
Names
—
Lists

Codes

FormatValue
HEX#afcf8e
RGBrgb(175 207 142)
HSLhsl(89.54 40.37% 68.43%)
OKLCHoklch(0.81 0.09 129.58)
CMYKcmyk(15.46% 0% 31.4% 18.82%)
Android#ffafcf8e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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