Skip to content

#fdffb6

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

RGB
253, 255, 182
HSL
62°, 100%, 86%
CMYK
1, 0, 29, 0
Luminance
0.9578

Every format

HEX#fdffb6
RGBrgb(253, 255, 182)
HSLhsl(62, 100%, 86%)
CMYKcmyk(1%, 0%, 29%, 0%)
LABlab(98.3 -11.7 34.8)
LCHlch(98.3 36.7 108.6)
OKLCHoklch(0.982 0.092 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdffb6 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fdffb6 on black: 20.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green100.0%
Blue71.4%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow28.6%
Key (black)0.0%

Color previews

#fdffb6 text on a black background

contrast 20.16:1

Card sample

#fdffb6 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdffb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdffb6 in the Color Lab