Skip to content

#fdf229

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

RGB
253, 242, 41
HSL
57°, 98%, 58%
CMYK
0, 4, 84, 1
Luminance
0.8455

Every format

HEX#fdf229
RGBrgb(253, 242, 41)
HSLhsl(57, 98%, 58%)
CMYKcmyk(0%, 4%, 84%, 1%)
LABlab(93.7 -15.6 86.8)
LCHlch(93.7 88.2 100.2)
OKLCHoklch(0.940 0.193 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf229 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#fdf229 on black: 17.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow83.8%
Key (black)0.8%

Color previews

#fdf229 text on a black background

contrast 17.91:1

Card sample

#fdf229 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 242, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 242, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf229;
background: linear-gradient(135deg, #fdf229, #7AFD29);

Monochromatic scale

Palettes built from #fdf229

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf229 in the Color Lab