#c5d331
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 | #c5d331 | |
| RGB | rgb(197 211 49) | |
| HSL | hsl(65.19 64.8% 50.98%) | |
| OKLCH | oklch(0.83 0.17 114.66) | |
| CMYK | cmyk(6.64% 0% 76.78% 17.25%) | |
| Android | #ffc5d331 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.73: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="#c5d331"
Gradient stop
<stop stop-color="#c5d331"/>
CSS variable + fill
:root { --c: #c5d331; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c5d331; background-color: #c5d331; bg-[#c5d331]