#fff23d
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 | #fff23d | |
| RGB | rgb(255 242 61) | |
| HSL | hsl(55.98 100% 61.96%) | |
| OKLCH | oklch(0.94 0.18 105.13) | |
| CMYK | cmyk(0% 5.1% 76.08% 0%) | |
| Android | #fffff23d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.02: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="#fff23d"
Gradient stop
<stop stop-color="#fff23d"/>
CSS variable + fill
:root { --c: #fff23d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fff23d; background-color: #fff23d; bg-[#fff23d]