#cef042
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 | #cef042 | |
| RGB | rgb(206 240 66) | |
| HSL | hsl(71.72 85.29% 60%) | |
| OKLCH | oklch(0.9 0.19 120.24) | |
| CMYK | cmyk(14.17% 0% 72.5% 5.88%) | |
| Android | #ffcef042 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.16: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="#cef042"
Gradient stop
<stop stop-color="#cef042"/>
CSS variable + fill
:root { --c: #cef042; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cef042; background-color: #cef042; bg-[#cef042]