#cefc97
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 | #cefc97 | |
| RGB | rgb(206 252 151) | |
| HSL | hsl(87.33 94.39% 79.02%) | |
| OKLCH | oklch(0.94 0.14 128.74) | |
| CMYK | cmyk(18.25% 0% 40.08% 1.18%) | |
| Android | #ffcefc97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.99: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="#cefc97"
Gradient stop
<stop stop-color="#cefc97"/>
CSS variable + fill
:root { --c: #cefc97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cefc97; background-color: #cefc97; bg-[#cefc97]