Skip to content

#f1fd2d

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

RGB
241, 253, 45
HSL
64°, 98%, 58%
CMYK
5, 0, 82, 1
Luminance
0.8914

Every format

HEX#f1fd2d
RGBrgb(241, 253, 45)
HSLhsl(64, 98%, 58%)
CMYKcmyk(5%, 0%, 82%, 1%)
LABlab(95.6 -25.7 87.2)
LCHlch(95.6 90.9 106.4)
OKLCHoklch(0.954 0.204 113.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.5%
Green99.2%
Blue17.6%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow82.2%
Key (black)0.8%

Color previews

#f1fd2d text on a black background

contrast 18.83:1

Card sample

#f1fd2d text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1fd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1fd2d in the Color Lab