Skip to content
Vectorlight.net

#ffef4b

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ffef4b
RGB
255, 239, 75
HSL
54.67°, 100%, 64.71%
OKLCH
0.94 0.17 103.65
Names
—
Lists

Codes

FormatValue
HEX#ffef4b
RGBrgb(255 239 75)
HSLhsl(54.67 100% 64.71%)
OKLCHoklch(0.94 0.17 103.65)
CMYKcmyk(0% 6.27% 70.59% 0%)
Android#ffffef4b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.70:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ffef4b"
Gradient stop
<stop stop-color="#ffef4b"/>
CSS variable + fill
:root { --c: #ffef4b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ffef4b;
background-color: #ffef4b;
bg-[#ffef4b]