#ede42a
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 | #ede42a | |
| RGB | rgb(237 228 42) | |
| HSL | hsl(57.23 84.42% 54.71%) | |
| OKLCH | oklch(0.9 0.18 106.53) | |
| CMYK | cmyk(0% 3.8% 82.28% 7.06%) | |
| Android | #ffede42a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.73: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="#ede42a"
Gradient stop
<stop stop-color="#ede42a"/>
CSS variable + fill
:root { --c: #ede42a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ede42a; background-color: #ede42a; bg-[#ede42a]