Skip to content

#fdef39

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

RGB
253, 239, 57
HSL
56°, 98%, 61%
CMYK
0, 6, 78, 1
Luminance
0.8291

Every format

HEX#fdef39
RGBrgb(253, 239, 57)
HSLhsl(56, 98%, 61%)
CMYKcmyk(0%, 6%, 78%, 1%)
LABlab(93.0 -13.7 82.2)
LCHlch(93.0 83.3 99.5)
OKLCHoklch(0.935 0.185 104.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.7%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow77.5%
Key (black)0.8%

Color previews

#fdef39 text on a black background

contrast 17.58:1

Card sample

#fdef39 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdef39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef39 in the Color Lab