#e6c242
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 | #e6c242 | |
| RGB | rgb(230 194 66) | |
| HSL | hsl(46.83 76.64% 58.04%) | |
| OKLCH | oklch(0.82 0.15 92.85) | |
| CMYK | cmyk(0% 15.65% 71.3% 9.8%) | |
| Android | #ffe6c242 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.15: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="#e6c242"
Gradient stop
<stop stop-color="#e6c242"/>
CSS variable + fill
:root { --c: #e6c242; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e6c242; background-color: #e6c242; bg-[#e6c242]