Skip to content

#fdfd30

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

RGB
253, 253, 48
HSL
60°, 98%, 59%
CMYK
0, 0, 81, 1
Luminance
0.9135

Every format

HEX#fdfd30
RGBrgb(253, 253, 48)
HSLhsl(60, 98%, 59%)
CMYKcmyk(0%, 0%, 81%, 1%)
LABlab(96.5 -20.7 87.6)
LCHlch(96.5 90.0 103.3)
OKLCHoklch(0.963 0.200 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue18.8%

CMYK percentages

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

Color previews

#fdfd30 text on a black background

contrast 19.27:1

Card sample

#fdfd30 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd30 in the Color Lab