Skip to content

#fdef5f

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

RGB
253, 239, 95
HSL
55°, 98%, 68%
CMYK
0, 6, 63, 1
Luminance
0.8344

Every format

HEX#fdef5f
RGBrgb(253, 239, 95)
HSLhsl(55, 98%, 68%)
CMYKcmyk(0%, 6%, 63%, 1%)
LABlab(93.2 -11.9 69.1)
LCHlch(93.2 70.1 99.8)
OKLCHoklch(0.937 0.162 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.7%
Blue37.3%

CMYK percentages

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

Color previews

#fdef5f text on a black background

contrast 17.69:1

Card sample

#fdef5f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdef5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef5f in the Color Lab