#fffb8a
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 | #fffb8a | |
| RGB | rgb(255 251 138) | |
| HSL | hsl(57.95 100% 77.06%) | |
| OKLCH | oklch(0.97 0.14 106.88) | |
| CMYK | cmyk(0% 1.57% 45.88% 0%) | |
| Android | #fffffb8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
19.41: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="#fffb8a"
Gradient stop
<stop stop-color="#fffb8a"/>
CSS variable + fill
:root { --c: #fffb8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fffb8a; background-color: #fffb8a; bg-[#fffb8a]