Skip to content
Vectorlight.net

#ffef8a

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

HEX
#ffef8a
RGB
255, 239, 138
HSL
51.79°, 100%, 77.06%
OKLCH
0.94 0.12 100.44
Names
—
Lists

Codes

FormatValue
HEX#ffef8a
RGBrgb(255 239 138)
HSLhsl(51.79 100% 77.06%)
OKLCHoklch(0.94 0.12 100.44)
CMYKcmyk(0% 6.27% 45.88% 0%)
Android#ffffef8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.96: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="#ffef8a"
Gradient stop
<stop stop-color="#ffef8a"/>
CSS variable + fill
:root { --c: #ffef8a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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