#cbae21
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 | #cbae21 | |
| RGB | rgb(203 174 33) | |
| HSL | hsl(49.76 72.03% 46.27%) | |
| OKLCH | oklch(0.75 0.15 96.23) | |
| CMYK | cmyk(0% 14.29% 83.74% 20.39%) | |
| Android | #ffcbae21 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.61: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="#cbae21"
Gradient stop
<stop stop-color="#cbae21"/>
CSS variable + fill
:root { --c: #cbae21; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbae21; background-color: #cbae21; bg-[#cbae21]