Skip to content

#fdfba5

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

RGB
253, 251, 165
HSL
59°, 96%, 82%
CMYK
0, 1, 35, 1
Luminance
0.9259

Every format

HEX#fdfba5
RGBrgb(253, 251, 165)
HSLhsl(59, 96%, 82%)
CMYKcmyk(0%, 1%, 35%, 1%)
LABlab(97.1 -11.8 41.5)
LCHlch(97.1 43.1 105.8)
OKLCHoklch(0.971 0.107 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue64.7%

CMYK percentages

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

Color previews

#fdfba5 text on a black background

contrast 19.52:1

Card sample

#fdfba5 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfba5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfba5 in the Color Lab