Skip to content

#fdfdaf

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

RGB
253, 253, 175
HSL
60°, 95%, 84%
CMYK
0, 0, 31, 1
Luminance
0.9423

Every format

HEX#fdfdaf
RGBrgb(253, 253, 175)
HSLhsl(60, 95%, 84%)
CMYKcmyk(0%, 0%, 31%, 1%)
LABlab(97.7 -11.6 37.4)
LCHlch(97.7 39.2 107.2)
OKLCHoklch(0.976 0.098 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfdaf on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdfdaf on black: 19.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow30.8%
Key (black)0.8%

Color previews

#fdfdaf text on a black background

contrast 19.85:1

Card sample

#fdfdaf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfdaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfdaf in the Color Lab