Skip to content
Vectorlight.net

#ffefb3

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

HEX
#ffefb3
RGB
255, 239, 179
HSL
47.37°, 100%, 85.1%
OKLCH
0.95 0.08 94.95
Names
—
Lists

Codes

FormatValue
HEX#ffefb3
RGBrgb(255 239 179)
HSLhsl(47.37 100% 85.1%)
OKLCHoklch(0.95 0.08 94.95)
CMYKcmyk(0% 6.27% 29.8% 0%)
Android#ffffefb3

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.24: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="#ffefb3"
Gradient stop
<stop stop-color="#ffefb3"/>
CSS variable + fill
:root { --c: #ffefb3; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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