#cfe951
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 | #cfe951 | |
| RGB | rgb(207 233 81) | |
| HSL | hsl(70.26 77.55% 61.57%) | |
| OKLCH | oklch(0.89 0.18 118.46) | |
| CMYK | cmyk(11.16% 0% 65.24% 8.63%) | |
| Android | #ffcfe951 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.42: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="#cfe951"
Gradient stop
<stop stop-color="#cfe951"/>
CSS variable + fill
:root { --c: #cfe951; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfe951; background-color: #cfe951; bg-[#cfe951]