Skip to content

#fdfea2

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

RGB
253, 254, 162
HSL
61°, 98%, 82%
CMYK
0, 0, 36, 0
Luminance
0.9437

Every format

HEX#fdfea2
RGBrgb(253, 254, 162)
HSLhsl(61, 98%, 82%)
CMYKcmyk(0%, 0%, 36%, 0%)
LABlab(97.8 -13.6 43.9)
LCHlch(97.8 46.0 107.1)
OKLCHoklch(0.976 0.114 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfea2 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdfea2 on black: 19.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.6%
Blue63.5%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow36.2%
Key (black)0.4%

Color previews

#fdfea2 text on a black background

contrast 19.87:1

Card sample

#fdfea2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfea2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfea2 in the Color Lab