#aff271
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 | #aff271 | |
| RGB | rgb(175 242 113) | |
| HSL | hsl(91.16 83.23% 69.61%) | |
| OKLCH | oklch(0.89 0.17 131.84) | |
| CMYK | cmyk(27.69% 0% 53.31% 5.1%) | |
| Android | #ffaff271 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.76: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="#aff271"
Gradient stop
<stop stop-color="#aff271"/>
CSS variable + fill
:root { --c: #aff271; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #aff271; background-color: #aff271; bg-[#aff271]