Skip to content

#fdfba2

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

RGB
253, 251, 162
HSL
59°, 96%, 81%
CMYK
0, 1, 36, 1
Luminance
0.9249

Every format

HEX#fdfba2
RGBrgb(253, 251, 162)
HSLhsl(59, 96%, 81%)
CMYKcmyk(0%, 1%, 36%, 1%)
LABlab(97.0 -12.1 42.9)
LCHlch(97.0 44.6 105.7)
OKLCHoklch(0.970 0.110 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfba2 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdfba2 on black: 19.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.4%
Blue63.5%

CMYK percentages

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

Color previews

#fdfba2 text on a black background

contrast 19.50:1

Card sample

#fdfba2 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfba2 in the Color Lab