Skip to content

#fdfba4

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

RGB
253, 251, 164
HSL
59°, 96%, 82%
CMYK
0, 1, 35, 1
Luminance
0.9256

Every format

HEX#fdfba4
RGBrgb(253, 251, 164)
HSLhsl(59, 96%, 82%)
CMYKcmyk(0%, 1%, 35%, 1%)
LABlab(97.0 -11.9 42.0)
LCHlch(97.0 43.6 105.8)
OKLCHoklch(0.970 0.108 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue64.3%

CMYK percentages

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

Color previews

#fdfba4 text on a black background

contrast 19.51:1

Card sample

#fdfba4 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfba4 in the Color Lab