Skip to content

#fdffab

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

RGB
253, 255, 171
HSL
61°, 100%, 84%
CMYK
1, 0, 33, 0
Luminance
0.9534

Every format

HEX#fdffab
RGBrgb(253, 255, 171)
HSLhsl(61, 100%, 84%)
CMYKcmyk(1%, 0%, 33%, 0%)
LABlab(98.2 -13.0 40.0)
LCHlch(98.2 42.1 108.0)
OKLCHoklch(0.980 0.105 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdffab on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fdffab on black: 20.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green100.0%
Blue67.1%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow32.9%
Key (black)0.0%

Color previews

#fdffab text on a black background

contrast 20.07:1

Card sample

#fdffab text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdffab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdffab in the Color Lab