#fce22b
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 | #fce22b | |
| RGB | rgb(252 226 43) | |
| HSL | hsl(52.54 97.21% 57.84%) | |
| OKLCH | oklch(0.91 0.18 100.36) | |
| CMYK | cmyk(0% 10.32% 82.94% 1.18%) | |
| Android | #fffce22b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.05: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="#fce22b"
Gradient stop
<stop stop-color="#fce22b"/>
CSS variable + fill
:root { --c: #fce22b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fce22b; background-color: #fce22b; bg-[#fce22b]