Skip to content

#fbfd2f

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

RGB
251, 253, 47
HSL
61°, 98%, 59%
CMYK
1, 0, 81, 1
Luminance
0.9097

Every format

HEX#fbfd2f
RGBrgb(251, 253, 47)
HSLhsl(61, 98%, 59%)
CMYKcmyk(1%, 0%, 81%, 1%)
LABlab(96.4 -21.6 87.7)
LCHlch(96.4 90.3 103.8)
OKLCHoklch(0.962 0.201 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbfd2f on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fbfd2f on black: 19.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green99.2%
Blue18.4%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#fbfd2f text on a black background

contrast 19.19:1

Card sample

#fbfd2f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbfd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbfd2f in the Color Lab