Skip to content

#fdfaaf

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

RGB
253, 250, 175
HSL
58°, 95%, 84%
CMYK
0, 1, 31, 1
Luminance
0.9235

Every format

HEX#fdfaaf
RGBrgb(253, 250, 175)
HSLhsl(58, 95%, 84%)
CMYKcmyk(0%, 1%, 31%, 1%)
LABlab(97.0 -10.1 36.4)
LCHlch(97.0 37.8 105.5)
OKLCHoklch(0.970 0.094 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfaaf on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdfaaf on black: 19.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow30.8%
Key (black)0.8%

Color previews

#fdfaaf text on a black background

contrast 19.47:1

Card sample

#fdfaaf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfaaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfaaf in the Color Lab