#cbc45a
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 | #cbc45a | |
| RGB | rgb(203 196 90) | |
| HSL | hsl(56.28 52.07% 57.45%) | |
| OKLCH | oklch(0.8 0.13 105.45) | |
| CMYK | cmyk(0% 3.45% 55.67% 20.39%) | |
| Android | #ffcbc45a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.58: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="#cbc45a"
Gradient stop
<stop stop-color="#cbc45a"/>
CSS variable + fill
:root { --c: #cbc45a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbc45a; background-color: #cbc45a; bg-[#cbc45a]