Skip to content

#fdf92b

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

RGB
253, 249, 43
HSL
59°, 98%, 58%
CMYK
0, 2, 83, 1
Luminance
0.8881

Every format

HEX#fdf92b
RGBrgb(253, 249, 43)
HSLhsl(59, 98%, 58%)
CMYKcmyk(0%, 2%, 83%, 1%)
LABlab(95.5 -18.9 87.8)
LCHlch(95.5 89.9 102.2)
OKLCHoklch(0.955 0.199 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow83.0%
Key (black)0.8%

Color previews

#fdf92b text on a black background

contrast 18.76:1

Card sample

#fdf92b text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf92b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf92b in the Color Lab