Skip to content

#fdff2c

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

RGB
253, 255, 44
HSL
61°, 100%, 59%
CMYK
1, 0, 83, 0
Luminance
0.9258

Every format

HEX#fdff2c
RGBrgb(253, 255, 44)
HSLhsl(61, 100%, 59%)
CMYKcmyk(1%, 0%, 83%, 0%)
LABlab(97.1 -21.8 88.9)
LCHlch(97.1 91.6 103.8)
OKLCHoklch(0.967 0.203 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdff2c on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdff2c on black: 19.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green100.0%
Blue17.3%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow82.7%
Key (black)0.0%

Color previews

#fdff2c text on a black background

contrast 19.52:1

Card sample

#fdff2c text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdff2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdff2c in the Color Lab