Skip to content

#fdef4d

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

RGB
253, 239, 77
HSL
55°, 98%, 65%
CMYK
0, 6, 70, 1
Luminance
0.8315

Every format

HEX#fdef4d
RGBrgb(253, 239, 77)
HSLhsl(55, 98%, 65%)
CMYKcmyk(0%, 6%, 70%, 1%)
LABlab(93.1 -12.9 75.8)
LCHlch(93.1 76.9 99.6)
OKLCHoklch(0.936 0.174 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdef4d on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#fdef4d on black: 17.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green93.7%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow69.6%
Key (black)0.8%

Color previews

#fdef4d text on a black background

contrast 17.63:1

Card sample

#fdef4d text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 239, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 239, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdef4d;
background: linear-gradient(135deg, #fdef4d, #96FD4D);

Monochromatic scale

Palettes built from #fdef4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef4d in the Color Lab