#afd565
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 | #afd565 | |
| RGB | rgb(175 213 101) | |
| HSL | hsl(80.36 57.14% 61.57%) | |
| OKLCH | oklch(0.82 0.15 125.06) | |
| CMYK | cmyk(17.84% 0% 52.58% 16.47%) | |
| Android | #ffafd565 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.52: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="#afd565"
Gradient stop
<stop stop-color="#afd565"/>
CSS variable + fill
:root { --c: #afd565; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd565; background-color: #afd565; bg-[#afd565]