#baf148
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 | #baf148 | |
| RGB | rgb(186 241 72) | |
| HSL | hsl(79.53 85.79% 61.37%) | |
| OKLCH | oklch(0.89 0.2 126.02) | |
| CMYK | cmyk(22.82% 0% 70.12% 5.49%) | |
| Android | #ffbaf148 |
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="#baf148"
Gradient stop
<stop stop-color="#baf148"/>
CSS variable + fill
:root { --c: #baf148; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #baf148; background-color: #baf148; bg-[#baf148]