Skip to content

#fdfda2

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

RGB
253, 253, 162
HSL
60°, 96%, 81%
CMYK
0, 0, 36, 1
Luminance
0.9374

Every format

HEX#fdfda2
RGBrgb(253, 253, 162)
HSLhsl(60, 96%, 81%)
CMYKcmyk(0%, 0%, 36%, 1%)
LABlab(97.5 -13.1 43.6)
LCHlch(97.5 45.5 106.7)
OKLCHoklch(0.974 0.113 108.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow36.0%
Key (black)0.8%

Color previews

#fdfda2 text on a black background

contrast 19.75:1

Card sample

#fdfda2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfda2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfda2 in the Color Lab