Skip to content

#fdfbaf

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

RGB
253, 251, 175
HSL
59°, 95%, 84%
CMYK
0, 1, 31, 1
Luminance
0.9297

Every format

HEX#fdfbaf
RGBrgb(253, 251, 175)
HSLhsl(59, 95%, 84%)
CMYKcmyk(0%, 1%, 31%, 1%)
LABlab(97.2 -10.6 36.8)
LCHlch(97.2 38.3 106.1)
OKLCHoklch(0.972 0.096 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfbaf on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdfbaf on black: 19.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.4%
Blue68.6%

CMYK percentages

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

Color previews

#fdfbaf text on a black background

contrast 19.59:1

Card sample

#fdfbaf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfbaf in the Color Lab