Skip to content
Vectorlight.net

#ffef7a

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

HEX
#ffef7a
RGB
255, 239, 122
HSL
52.78°, 100%, 73.92%
OKLCH
0.94 0.14 101.6
Names
—
Lists

Codes

FormatValue
HEX#ffef7a
RGBrgb(255 239 122)
HSLhsl(52.78 100% 73.92%)
OKLCHoklch(0.94 0.14 101.6)
CMYKcmyk(0% 6.27% 52.16% 0%)
Android#ffffef7a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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