Skip to content

#fdffb2

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

RGB
253, 255, 178
HSL
62°, 100%, 85%
CMYK
1, 0, 30, 0
Luminance
0.9562

Every format

HEX#fdffb2
RGBrgb(253, 255, 178)
HSLhsl(62, 100%, 85%)
CMYKcmyk(1%, 0%, 30%, 0%)
LABlab(98.3 -12.2 36.7)
LCHlch(98.3 38.6 108.4)
OKLCHoklch(0.981 0.097 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green100.0%
Blue69.8%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow30.2%
Key (black)0.0%

Color previews

#fdffb2 text on a black background

contrast 20.12:1

Card sample

#fdffb2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdffb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdffb2 in the Color Lab