Skip to content

#fdfca2

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

RGB
253, 252, 162
HSL
59°, 96%, 81%
CMYK
0, 0, 36, 1
Luminance
0.9311

Every format

HEX#fdfca2
RGBrgb(253, 252, 162)
HSLhsl(59, 96%, 81%)
CMYKcmyk(0%, 0%, 36%, 1%)
LABlab(97.3 -12.6 43.3)
LCHlch(97.3 45.0 106.2)
OKLCHoklch(0.972 0.112 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfca2 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdfca2 on black: 19.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.8%
Blue63.5%

CMYK percentages

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

Color previews

#fdfca2 text on a black background

contrast 19.62:1

Card sample

#fdfca2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfca2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfca2 in the Color Lab