Skip to content

#fdfa9b

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

RGB
253, 250, 155
HSL
58°, 96%, 80%
CMYK
0, 1, 39, 1
Luminance
0.9162

Every format

HEX#fdfa9b
RGBrgb(253, 250, 155)
HSLhsl(58, 96%, 80%)
CMYKcmyk(0%, 1%, 39%, 1%)
LABlab(96.7 -12.3 45.9)
LCHlch(96.7 47.5 105.1)
OKLCHoklch(0.967 0.117 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfa9b on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdfa9b on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.0%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow38.7%
Key (black)0.8%

Color previews

#fdfa9b text on a black background

contrast 19.32:1

Card sample

#fdfa9b text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfa9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfa9b in the Color Lab