Skip to content

#fdfba9

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

RGB
253, 251, 169
HSL
59°, 96%, 83%
CMYK
0, 1, 33, 1
Luminance
0.9274

Every format

HEX#fdfba9
RGBrgb(253, 251, 169)
HSLhsl(59, 96%, 83%)
CMYKcmyk(0%, 1%, 33%, 1%)
LABlab(97.1 -11.3 39.6)
LCHlch(97.1 41.2 105.9)
OKLCHoklch(0.971 0.102 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue66.3%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow33.2%
Key (black)0.8%

Color previews

#fdfba9 text on a black background

contrast 19.55:1

Card sample

#fdfba9 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfba9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfba9 in the Color Lab