Skip to content

#fdf423

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

RGB
253, 244, 35
HSL
58°, 98%, 57%
CMYK
0, 4, 86, 1
Luminance
0.8571

Every format

HEX#fdf423
RGBrgb(253, 244, 35)
HSLhsl(58, 98%, 57%)
CMYKcmyk(0%, 4%, 86%, 1%)
LABlab(94.2 -16.7 88.4)
LCHlch(94.2 89.9 100.7)
OKLCHoklch(0.944 0.197 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf423 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdf423 on black: 18.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue13.7%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow86.2%
Key (black)0.8%

Color previews

#fdf423 text on a black background

contrast 18.14:1

Card sample

#fdf423 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf423

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf423 in the Color Lab