Skip to content

#fdfaa7

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

RGB
253, 250, 167
HSL
58°, 96%, 82%
CMYK
0, 1, 34, 1
Luminance
0.9204

Every format

HEX#fdfaa7
RGBrgb(253, 250, 167)
HSLhsl(58, 96%, 82%)
CMYKcmyk(0%, 1%, 34%, 1%)
LABlab(96.8 -11.0 40.2)
LCHlch(96.8 41.7 105.3)
OKLCHoklch(0.969 0.104 106.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.0%
Blue65.5%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow34.0%
Key (black)0.8%

Color previews

#fdfaa7 text on a black background

contrast 19.41:1

Card sample

#fdfaa7 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfaa7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfaa7 in the Color Lab