Skip to content

#fdf26f

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

RGB
253, 242, 111
HSL
55°, 97%, 71%
CMYK
0, 4, 56, 1
Luminance
0.8553

Every format

HEX#fdf26f
RGBrgb(253, 242, 111)
HSLhsl(55, 97%, 71%)
CMYKcmyk(0%, 4%, 56%, 1%)
LABlab(94.1 -12.3 63.3)
LCHlch(94.1 64.5 101.0)
OKLCHoklch(0.945 0.152 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf26f on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdf26f on black: 18.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow56.1%
Key (black)0.8%

Color previews

#fdf26f text on a black background

contrast 18.11:1

Card sample

#fdf26f text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf26f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf26f in the Color Lab