Skip to content
Vectorlight.net

#f2f481

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

HEX
#f2f481
RGB
242, 244, 129
HSL
61.04°, 83.94%, 73.14%
OKLCH
0.94 0.14 109.67
Names
—
Lists

Codes

FormatValue
HEX#f2f481
RGBrgb(242 244 129)
HSLhsl(61.04 83.94% 73.14%)
OKLCHoklch(0.94 0.14 109.67)
CMYKcmyk(0.82% 0% 47.13% 4.31%)
Android#fff2f481

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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