#afcd8d
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #afcd8d | |
| RGB | rgb(175 205 141) | |
| HSL | hsl(88.13 39.02% 67.84%) | |
| OKLCH | oklch(0.81 0.09 128.69) | |
| CMYK | cmyk(14.63% 0% 31.22% 19.61%) | |
| Android | #ffafcd8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.75:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.93:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#afcd8d"
Gradient stop
<stop stop-color="#afcd8d"/>
CSS variable + fill
:root { --c: #afcd8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afcd8d; background-color: #afcd8d; bg-[#afcd8d]