#c8ca2a
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 | #c8ca2a | |
| RGB | rgb(200 202 42) | |
| HSL | hsl(60.75 65.57% 47.84%) | |
| OKLCH | oklch(0.81 0.17 110.37) | |
| CMYK | cmyk(0.99% 0% 79.21% 20.78%) | |
| Android | #ffc8ca2a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.75:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.93: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="#c8ca2a"
Gradient stop
<stop stop-color="#c8ca2a"/>
CSS variable + fill
:root { --c: #c8ca2a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8ca2a; background-color: #c8ca2a; bg-[#c8ca2a]