#cef072
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 | #cef072 | |
| RGB | rgb(206 240 114) | |
| HSL | hsl(76.19 80.77% 69.41%) | |
| OKLCH | oklch(0.9 0.16 122.13) | |
| CMYK | cmyk(14.17% 0% 52.5% 5.88%) | |
| Android | #ffcef072 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.28:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.33: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="#cef072"
Gradient stop
<stop stop-color="#cef072"/>
CSS variable + fill
:root { --c: #cef072; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cef072; background-color: #cef072; bg-[#cef072]