#afeb45
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 | #afeb45 | |
| RGB | rgb(175 235 69) | |
| HSL | hsl(81.69 80.58% 59.61%) | |
| OKLCH | oklch(0.87 0.2 127.54) | |
| CMYK | cmyk(25.53% 0% 70.64% 7.84%) | |
| Android | #ffafeb45 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.79: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="#afeb45"
Gradient stop
<stop stop-color="#afeb45"/>
CSS variable + fill
:root { --c: #afeb45; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afeb45; background-color: #afeb45; bg-[#afeb45]