Skip to content

#fdf46e

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

RGB
253, 244, 110
HSL
56°, 97%, 71%
CMYK
0, 4, 57, 1
Luminance
0.8671

Every format

HEX#fdf46e
RGBrgb(253, 244, 110)
HSLhsl(56, 97%, 71%)
CMYKcmyk(0%, 4%, 57%, 1%)
LABlab(94.6 -13.4 64.3)
LCHlch(94.6 65.7 101.7)
OKLCHoklch(0.949 0.154 105.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue43.1%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow56.5%
Key (black)0.8%

Color previews

#fdf46e text on a black background

contrast 18.34:1

Card sample

#fdf46e text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf46e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf46e in the Color Lab