#afdc5d
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 | #afdc5d | |
| RGB | rgb(175 220 93) | |
| HSL | hsl(81.26 64.47% 61.37%) | |
| OKLCH | oklch(0.84 0.16 126.08) | |
| CMYK | cmyk(20.45% 0% 57.73% 13.73%) | |
| Android | #ffafdc5d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.58:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.21: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="#afdc5d"
Gradient stop
<stop stop-color="#afdc5d"/>
CSS variable + fill
:root { --c: #afdc5d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afdc5d; background-color: #afdc5d; bg-[#afdc5d]