Skip to content

#fdf32c

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

RGB
253, 243, 44
HSL
57°, 98%, 58%
CMYK
0, 4, 83, 1
Luminance
0.8517

Every format

HEX#fdf32c
RGBrgb(253, 243, 44)
HSLhsl(57, 98%, 58%)
CMYKcmyk(0%, 4%, 83%, 1%)
LABlab(94.0 -16.0 86.3)
LCHlch(94.0 87.8 100.5)
OKLCHoklch(0.942 0.193 106.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.3%
Blue17.3%

CMYK percentages

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

Color previews

#fdf32c text on a black background

contrast 18.03:1

Card sample

#fdf32c text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf32c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf32c in the Color Lab