#cbf252
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 | #cbf252 | |
| RGB | rgb(203 242 82) | |
| HSL | hsl(74.63 86.02% 63.53%) | |
| OKLCH | oklch(0.9 0.19 122.04) | |
| CMYK | cmyk(16.12% 0% 66.12% 5.1%) | |
| Android | #ffcbf252 |
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.36: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="#cbf252"
Gradient stop
<stop stop-color="#cbf252"/>
CSS variable + fill
:root { --c: #cbf252; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbf252; background-color: #cbf252; bg-[#cbf252]