Skip to content

#f9fd2c

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

RGB
249, 253, 44
HSL
61°, 98%, 58%
CMYK
2, 0, 83, 1
Luminance
0.9057

Every format

HEX#f9fd2c
RGBrgb(249, 253, 44)
HSLhsl(61, 98%, 58%)
CMYKcmyk(2%, 0%, 83%, 1%)
LABlab(96.2 -22.4 88.1)
LCHlch(96.2 90.9 104.3)
OKLCHoklch(0.960 0.203 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green99.2%
Blue17.3%

CMYK percentages

Cyan1.6%
Magenta0.0%
Yellow82.6%
Key (black)0.8%

Color previews

#f9fd2c text on a black background

contrast 19.11:1

Card sample

#f9fd2c text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fd2c in the Color Lab