#ccb01e
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 | #ccb01e | |
| RGB | rgb(204 176 30) | |
| HSL | hsl(50.34 74.36% 45.88%) | |
| OKLCH | oklch(0.76 0.15 96.97) | |
| CMYK | cmyk(0% 13.73% 85.29% 20%) | |
| Android | #ffccb01e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.79: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="#ccb01e"
Gradient stop
<stop stop-color="#ccb01e"/>
CSS variable + fill
:root { --c: #ccb01e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccb01e; background-color: #ccb01e; bg-[#ccb01e]