Skip to content
Vectorlight.net

#f2f754

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

HEX
#f2f754
RGB
242, 247, 84
HSL
61.84°, 91.06%, 64.9%
OKLCH
0.94 0.18 111.09
Names
—
Lists

Codes

FormatValue
HEX#f2f754
RGBrgb(242 247 84)
HSLhsl(61.84 91.06% 64.9%)
OKLCHoklch(0.94 0.18 111.09)
CMYKcmyk(2.02% 0% 65.99% 3.14%)
Android#fff2f754

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

Recolor an SVG with this color

CSS

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