Skip to content

#fdffa2

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

RGB
253, 255, 162
HSL
61°, 100%, 82%
CMYK
1, 0, 37, 0
Luminance
0.9501

Every format

HEX#fdffa2
RGBrgb(253, 255, 162)
HSLhsl(61, 100%, 82%)
CMYKcmyk(1%, 0%, 37%, 0%)
LABlab(98.0 -14.0 44.2)
LCHlch(98.0 46.4 107.6)
OKLCHoklch(0.978 0.115 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green100.0%
Blue63.5%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow36.5%
Key (black)0.0%

Color previews

#fdffa2 text on a black background

contrast 20.00:1

Card sample

#fdffa2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdffa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdffa2 in the Color Lab