#cfe970
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 | #cfe970 | |
| RGB | rgb(207 233 112) | |
| HSL | hsl(72.89 73.33% 67.65%) | |
| OKLCH | oklch(0.89 0.15 119.61) | |
| CMYK | cmyk(11.16% 0% 51.93% 8.63%) | |
| Android | #ffcfe970 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.35:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.54: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="#cfe970"
Gradient stop
<stop stop-color="#cfe970"/>
CSS variable + fill
:root { --c: #cfe970; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfe970; background-color: #cfe970; bg-[#cfe970]