Skip to content
Vectorlight.net

#f4e228

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

HEX
#f4e228
RGB
244, 226, 40
HSL
54.71°, 90.27%, 55.69%
OKLCH
0.9 0.18 103.32
Names
—
Lists

Codes

FormatValue
HEX#f4e228
RGBrgb(244 226 40)
HSLhsl(54.71 90.27% 55.69%)
OKLCHoklch(0.9 0.18 103.32)
CMYKcmyk(0% 7.38% 83.61% 4.31%)
Android#fff4e228

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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