Skip to content
Vectorlight.net

#f4e798

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

HEX
#f4e798
RGB
244, 231, 152
HSL
51.52°, 80.7%, 77.65%
OKLCH
0.92 0.1 100.04
Names
—
Lists

Codes

FormatValue
HEX#f4e798
RGBrgb(244 231 152)
HSLhsl(51.52 80.7% 77.65%)
OKLCHoklch(0.92 0.1 100.04)
CMYKcmyk(0% 5.33% 37.7% 4.31%)
Android#fff4e798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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