Skip to content

#fdff9b

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

RGB
253, 255, 155
HSL
61°, 100%, 80%
CMYK
1, 0, 39, 0
Luminance
0.9477

Every format

HEX#fdff9b
RGBrgb(253, 255, 155)
HSLhsl(61, 100%, 80%)
CMYKcmyk(1%, 0%, 39%, 0%)
LABlab(97.9 -14.8 47.5)
LCHlch(97.9 49.8 107.3)
OKLCHoklch(0.977 0.122 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdff9b on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fdff9b on black: 19.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green100.0%
Blue60.8%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow39.2%
Key (black)0.0%

Color previews

#fdff9b text on a black background

contrast 19.95:1

Card sample

#fdff9b text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdff9b in the Color Lab