#ec9f28
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 | #ec9f28 | |
| RGB | rgb(236 159 40) | |
| HSL | hsl(36.43 83.76% 54.12%) | |
| OKLCH | oklch(0.76 0.15 71.85) | |
| CMYK | cmyk(0% 32.63% 83.05% 7.45%) | |
| Android | #ffec9f28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.19:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.55: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="#ec9f28"
Gradient stop
<stop stop-color="#ec9f28"/>
CSS variable + fill
:root { --c: #ec9f28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec9f28; background-color: #ec9f28; bg-[#ec9f28]