#affe52
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 | #affe52 | |
| RGB | rgb(175 254 82) | |
| HSL | hsl(87.56 98.85% 65.88%) | |
| OKLCH | oklch(0.91 0.21 130.95) | |
| CMYK | cmyk(31.1% 0% 67.72% 0.39%) | |
| Android | #ffaffe52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.22:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.12: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="#affe52"
Gradient stop
<stop stop-color="#affe52"/>
CSS variable + fill
:root { --c: #affe52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #affe52; background-color: #affe52; bg-[#affe52]