#cbdb42
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 | #cbdb42 | |
| RGB | rgb(203 219 66) | |
| HSL | hsl(66.27 68% 55.88%) | |
| OKLCH | oklch(0.85 0.17 115.3) | |
| CMYK | cmyk(7.31% 0% 69.86% 14.12%) | |
| Android | #ffcbdb42 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.75: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="#cbdb42"
Gradient stop
<stop stop-color="#cbdb42"/>
CSS variable + fill
:root { --c: #cbdb42; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbdb42; background-color: #cbdb42; bg-[#cbdb42]