#afd290
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 | #afd290 | |
| RGB | rgb(175 210 144) | |
| HSL | hsl(91.82 42.31% 69.41%) | |
| OKLCH | oklch(0.82 0.1 130.96) | |
| CMYK | cmyk(16.67% 0% 31.43% 17.65%) | |
| Android | #ffafd290 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.68:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.44: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="#afd290"
Gradient stop
<stop stop-color="#afd290"/>
CSS variable + fill
:root { --c: #afd290; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd290; background-color: #afd290; bg-[#afd290]