Skip to content

#fdf89e

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

RGB
253, 248, 158
HSL
57°, 96%, 81%
CMYK
0, 2, 38, 1
Luminance
0.9049

Every format

HEX#fdf89e
RGBrgb(253, 248, 158)
HSLhsl(57, 96%, 81%)
CMYKcmyk(0%, 2%, 38%, 1%)
LABlab(96.2 -11.0 43.8)
LCHlch(96.2 45.2 104.1)
OKLCHoklch(0.963 0.111 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf89e on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdf89e on black: 19.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue62.0%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow37.5%
Key (black)0.8%

Color previews

#fdf89e text on a black background

contrast 19.10:1

Card sample

#fdf89e text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf89e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf89e in the Color Lab