Skip to content

#fdfb2d

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

RGB
253, 251, 45
HSL
59°, 98%, 58%
CMYK
0, 1, 82, 1
Luminance
0.9007

Every format

HEX#fdfb2d
RGBrgb(253, 251, 45)
HSLhsl(59, 98%, 58%)
CMYKcmyk(0%, 1%, 82%, 1%)
LABlab(96.0 -19.8 87.8)
LCHlch(96.0 90.1 102.7)
OKLCHoklch(0.959 0.200 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow82.2%
Key (black)0.8%

Color previews

#fdfb2d text on a black background

contrast 19.01:1

Card sample

#fdfb2d text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb2d in the Color Lab