#cea040
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 | #cea040 | |
| RGB | rgb(206 160 64) | |
| HSL | hsl(40.56 59.17% 52.94%) | |
| OKLCH | oklch(0.73 0.12 82.72) | |
| CMYK | cmyk(0% 22.33% 68.93% 19.22%) | |
| Android | #ffcea040 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.40:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.72: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="#cea040"
Gradient stop
<stop stop-color="#cea040"/>
CSS variable + fill
:root { --c: #cea040; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cea040; background-color: #cea040; bg-[#cea040]