Skip to content
Vectorlight.net

#f7f272

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

HEX
#f7f272
RGB
247, 242, 114
HSL
57.74°, 89.26%, 70.78%
OKLCH
0.94 0.15 106.9
Names
—
Lists

Codes

FormatValue
HEX#f7f272
RGBrgb(247 242 114)
HSLhsl(57.74 89.26% 70.78%)
OKLCHoklch(0.94 0.15 106.9)
CMYKcmyk(0% 2.02% 53.85% 3.14%)
Android#fff7f272

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

Recolor an SVG with this color

CSS

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