#f5e751
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 | #f5e751 | |
| RGB | rgb(245 231 81) | |
| HSL | hsl(54.88 89.13% 63.92%) | |
| OKLCH | oklch(0.91 0.17 103.96) | |
| CMYK | cmyk(0% 5.71% 66.94% 3.92%) | |
| Android | #fff5e751 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.27:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.43: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="#f5e751"
Gradient stop
<stop stop-color="#f5e751"/>
CSS variable + fill
:root { --c: #f5e751; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f5e751; background-color: #f5e751; bg-[#f5e751]