Skip to content

#fdfb81

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

RGB
253, 251, 129
HSL
59°, 97%, 75%
CMYK
0, 1, 49, 1
Luminance
0.9146

Every format

HEX#fdfb81
RGBrgb(253, 251, 129)
HSLhsl(59, 97%, 75%)
CMYKcmyk(0%, 1%, 49%, 1%)
LABlab(96.6 -15.3 58.1)
LCHlch(96.6 60.1 104.8)
OKLCHoklch(0.965 0.144 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfb81 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdfb81 on black: 19.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.4%
Blue50.6%

CMYK percentages

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

Color previews

#fdfb81 text on a black background

contrast 19.29:1

Card sample

#fdfb81 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb81

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb81 in the Color Lab