Skip to content
Vectorlight.net

#fef792

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

HEX
#fef792
RGB
254, 247, 146
HSL
56.11°, 98.18%, 78.43%
OKLCH
0.96 0.12 105.01
Names
—
Lists

Codes

FormatValue
HEX#fef792
RGBrgb(254 247 146)
HSLhsl(56.11 98.18% 78.43%)
OKLCHoklch(0.96 0.12 105.01)
CMYKcmyk(0% 2.76% 42.52% 0.39%)
Android#fffef792

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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