#fafd52
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 | #fafd52 | |
| RGB | rgb(250 253 82) | |
| HSL | hsl(61.05 97.71% 65.69%) | |
| OKLCH | oklch(0.96 0.18 110.4) | |
| CMYK | cmyk(1.19% 0% 67.59% 0.78%) | |
| Android | #fffafd52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.09:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
19.23: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="#fafd52"
Gradient stop
<stop stop-color="#fafd52"/>
CSS variable + fill
:root { --c: #fafd52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fafd52; background-color: #fafd52; bg-[#fafd52]