#21fb98
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 | #21fb98 | |
| RGB | rgb(33 251 152) | |
| HSL | hsl(152.75 96.46% 55.69%) | |
| OKLCH | oklch(0.87 0.21 155.79) | |
| CMYK | cmyk(86.85% 0% 39.44% 1.57%) | |
| Android | #ff21fb98 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.37:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.31: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="#21fb98"
Gradient stop
<stop stop-color="#21fb98"/>
CSS variable + fill
:root { --c: #21fb98; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #21fb98; background-color: #21fb98; bg-[#21fb98]