Skip to content

#fdf6af

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

RGB
253, 246, 175
HSL
55°, 95%, 84%
CMYK
0, 3, 31, 1
Luminance
0.8989

Every format

HEX#fdf6af
RGBrgb(253, 246, 175)
HSLhsl(55, 95%, 84%)
CMYKcmyk(0%, 3%, 31%, 1%)
LABlab(96.0 -8.1 35.1)
LCHlch(96.0 36.0 103.0)
OKLCHoklch(0.962 0.090 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf6af on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf6af on black: 18.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.5%
Blue68.6%

CMYK percentages

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

Color previews

#fdf6af text on a black background

contrast 18.98:1

Card sample

#fdf6af text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf6af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf6af in the Color Lab