Skip to content

#fdfd2c

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

RGB
253, 253, 44
HSL
60°, 98%, 58%
CMYK
0, 0, 83, 1
Luminance
0.9132

Every format

HEX#fdfd2c
RGBrgb(253, 253, 44)
HSLhsl(60, 98%, 58%)
CMYKcmyk(0%, 0%, 83%, 1%)
LABlab(96.5 -20.8 88.5)
LCHlch(96.5 90.9 103.2)
OKLCHoklch(0.963 0.202 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow82.6%
Key (black)0.8%

Color previews

#fdfd2c text on a black background

contrast 19.26:1

Card sample

#fdfd2c text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd2c in the Color Lab