Skip to content

#f1fd2f

a balanced, electric yellow · cool · closest name: yellow

RGB
241, 253, 47
HSL
64°, 98%, 59%
CMYK
5, 0, 81, 1
Luminance
0.8916

Every format

HEX#f1fd2f
RGBrgb(241, 253, 47)
HSLhsl(64, 98%, 59%)
CMYKcmyk(5%, 0%, 81%, 1%)
LABlab(95.7 -25.6 86.7)
LCHlch(95.7 90.4 106.5)
OKLCHoklch(0.954 0.203 113.3)

Copy-ready code

/* CSS */
color: #f1fd2f;
background-color: #f1fd2f;
/* Tailwind (arbitrary) */
class="text-[#f1fd2f] bg-[#f1fd2f]"
/* SCSS */
$brand: #f1fd2f;
/* SwiftUI */
Color(red: 0.945, green: 0.992, blue: 0.184)
/* Android */
Color.parseColor("#f1fd2f")

Accessibility — WCAG contrast

Aa
#f1fd2f on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f1fd2f on black: 18.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green99.2%
Blue18.4%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#f1fd2f text on a black background

contrast 18.83:1

Card sample

#f1fd2f text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f1fd2f;
Background color
Panel with #f1fd2f background
background-color: #f1fd2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f1fd2f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(241, 253, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 253, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1fd2f;
background: linear-gradient(135deg, #f1fd2f, #68FD2F);

Monochromatic scale

Palettes built from #f1fd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1fd2f in the Color Lab