#bafe98
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 | #bafe98 | |
| RGB | rgb(186 254 152) | |
| HSL | hsl(100 98.08% 79.61%) | |
| OKLCH | oklch(0.93 0.15 135.81) | |
| CMYK | cmyk(26.77% 0% 40.16% 0.39%) | |
| Android | #ffbafe98 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.71: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="#bafe98"
Gradient stop
<stop stop-color="#bafe98"/>
CSS variable + fill
:root { --c: #bafe98; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bafe98; background-color: #bafe98; bg-[#bafe98]