#caf231
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 | #caf231 | |
| RGB | rgb(202 242 49) | |
| HSL | hsl(72.44 88.13% 57.06%) | |
| OKLCH | oklch(0.9 0.21 121.45) | |
| CMYK | cmyk(16.53% 0% 79.75% 5.1%) | |
| Android | #ffcaf231 |
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.25: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="#caf231"
Gradient stop
<stop stop-color="#caf231"/>
CSS variable + fill
:root { --c: #caf231; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #caf231; background-color: #caf231; bg-[#caf231]