#fff08e
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 | #fff08e | |
| RGB | rgb(255 240 142) | |
| HSL | hsl(52.04 100% 77.84%) | |
| OKLCH | oklch(0.95 0.12 100.71) | |
| CMYK | cmyk(0% 5.88% 44.31% 0%) | |
| Android | #fffff08e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.15:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.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="#fff08e"
Gradient stop
<stop stop-color="#fff08e"/>
CSS variable + fill
:root { --c: #fff08e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fff08e; background-color: #fff08e; bg-[#fff08e]