#ccc119
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 | #ccc119 | |
| RGB | rgb(204 193 25) | |
| HSL | hsl(56.31 78.17% 44.9%) | |
| OKLCH | oklch(0.79 0.16 105.3) | |
| CMYK | cmyk(0% 5.39% 87.75% 20%) | |
| Android | #ffccc119 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.87:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.20: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="#ccc119"
Gradient stop
<stop stop-color="#ccc119"/>
CSS variable + fill
:root { --c: #ccc119; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccc119; background-color: #ccc119; bg-[#ccc119]