#fdf98c
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 | #fdf98c | |
| RGB | rgb(253 249 140) | |
| HSL | hsl(57.88 96.58% 77.06%) | |
| OKLCH | oklch(0.96 0.13 106.77) | |
| CMYK | cmyk(0% 1.58% 44.66% 0.78%) | |
| Android | #fffdf98c |
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.10: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="#fdf98c"
Gradient stop
<stop stop-color="#fdf98c"/>
CSS variable + fill
:root { --c: #fdf98c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fdf98c; background-color: #fdf98c; bg-[#fdf98c]