Skip to content

#fdf393

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

RGB
253, 243, 147
HSL
54°, 96%, 78%
CMYK
0, 4, 42, 1
Luminance
0.8709

Every format

HEX#fdf393
RGBrgb(253, 243, 147)
HSLhsl(54, 96%, 78%)
CMYKcmyk(0%, 4%, 42%, 1%)
LABlab(94.8 -9.7 47.4)
LCHlch(94.8 48.4 101.6)
OKLCHoklch(0.952 0.118 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf393 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf393 on black: 18.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.3%
Blue57.6%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow41.9%
Key (black)0.8%

Color previews

#fdf393 text on a black background

contrast 18.42:1

Card sample

#fdf393 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf393

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf393 in the Color Lab