Skip to content

#f9fd2f

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

RGB
249, 253, 47
HSL
61°, 98%, 59%
CMYK
2, 0, 81, 1
Luminance
0.9060

Every format

HEX#f9fd2f
RGBrgb(249, 253, 47)
HSLhsl(61, 98%, 59%)
CMYKcmyk(2%, 0%, 81%, 1%)
LABlab(96.2 -22.4 87.5)
LCHlch(96.2 90.3 104.3)
OKLCHoklch(0.960 0.202 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9fd2f on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f9fd2f on black: 19.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green99.2%
Blue18.4%

CMYK percentages

Cyan1.6%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#f9fd2f text on a black background

contrast 19.12:1

Card sample

#f9fd2f text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fd2f in the Color Lab