#ffce2f
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 | #ffce2f | |
| RGB | rgb(255 206 47) | |
| HSL | hsl(45.87 100% 59.22%) | |
| OKLCH | oklch(0.87 0.17 89.94) | |
| CMYK | cmyk(0% 19.22% 81.57% 0%) | |
| Android | #ffffce2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.12: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="#ffce2f"
Gradient stop
<stop stop-color="#ffce2f"/>
CSS variable + fill
:root { --c: #ffce2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffce2f; background-color: #ffce2f; bg-[#ffce2f]