Skip to content

#fdef4f

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

RGB
253, 239, 79
HSL
55°, 98%, 65%
CMYK
0, 6, 69, 1
Luminance
0.8318

Every format

HEX#fdef4f
RGBrgb(253, 239, 79)
HSLhsl(55, 98%, 65%)
CMYKcmyk(0%, 6%, 69%, 1%)
LABlab(93.1 -12.8 75.1)
LCHlch(93.1 76.2 99.7)
OKLCHoklch(0.936 0.173 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.7%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow68.8%
Key (black)0.8%

Color previews

#fdef4f text on a black background

contrast 17.64:1

Card sample

#fdef4f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdef4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef4f in the Color Lab