#c8cb28
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 | #c8cb28 | |
| RGB | rgb(200 203 40) | |
| HSL | hsl(61.1 67.08% 47.65%) | |
| OKLCH | oklch(0.81 0.17 110.75) | |
| CMYK | cmyk(1.48% 0% 80.3% 20.39%) | |
| Android | #ffc8cb28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.02: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="#c8cb28"
Gradient stop
<stop stop-color="#c8cb28"/>
CSS variable + fill
:root { --c: #c8cb28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8cb28; background-color: #c8cb28; bg-[#c8cb28]