#5af256
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 | #5af256 | |
| RGB | rgb(90 242 86) | |
| HSL | hsl(118.46 85.71% 64.31%) | |
| OKLCH | oklch(0.85 0.24 142.79) | |
| CMYK | cmyk(62.81% 0% 64.46% 5.1%) | |
| Android | #ff5af256 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.47:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.26: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="#5af256"
Gradient stop
<stop stop-color="#5af256"/>
CSS variable + fill
:root { --c: #5af256; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5af256; background-color: #5af256; bg-[#5af256]