Skip to content

#fdfb2f

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

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

Every format

HEX#fdfb2f
RGBrgb(253, 251, 47)
HSLhsl(59, 98%, 59%)
CMYKcmyk(0%, 1%, 81%, 1%)
LABlab(96.0 -19.8 87.4)
LCHlch(96.0 89.6 102.8)
OKLCHoklch(0.959 0.199 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue18.4%

CMYK percentages

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

Color previews

#fdfb2f text on a black background

contrast 19.02:1

Card sample

#fdfb2f text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb2f in the Color Lab