#cdcc2d
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 | #cdcc2d | |
| RGB | rgb(205 204 45) | |
| HSL | hsl(59.63 64% 49.02%) | |
| OKLCH | oklch(0.82 0.17 109.19) | |
| CMYK | cmyk(0% 0.49% 78.05% 19.61%) | |
| Android | #ffcdcc2d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.27: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="#cdcc2d"
Gradient stop
<stop stop-color="#cdcc2d"/>
CSS variable + fill
:root { --c: #cdcc2d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdcc2d; background-color: #cdcc2d; bg-[#cdcc2d]