Skip to content

#fdef6f

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

RGB
253, 239, 111
HSL
54°, 97%, 71%
CMYK
0, 6, 56, 1
Luminance
0.8376

Every format

HEX#fdef6f
RGBrgb(253, 239, 111)
HSLhsl(54, 97%, 71%)
CMYKcmyk(0%, 6%, 56%, 1%)
LABlab(93.3 -10.8 62.4)
LCHlch(93.3 63.4 99.9)
OKLCHoklch(0.939 0.149 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdef6f on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#fdef6f on black: 17.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green93.7%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow56.1%
Key (black)0.8%

Color previews

#fdef6f text on a black background

contrast 17.75:1

Card sample

#fdef6f text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdef6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef6f in the Color Lab