Skip to content

#fdfc6d

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

RGB
253, 252, 109
HSL
60°, 97%, 71%
CMYK
0, 0, 57, 1
Luminance
0.9161

Every format

HEX#fdfc6d
RGBrgb(253, 252, 109)
HSLhsl(60, 97%, 71%)
CMYKcmyk(0%, 0%, 57%, 1%)
LABlab(96.7 -17.3 67.0)
LCHlch(96.7 69.2 104.5)
OKLCHoklch(0.965 0.163 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow56.9%
Key (black)0.8%

Color previews

#fdfc6d text on a black background

contrast 19.32:1

Card sample

#fdfc6d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 252, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 252, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdfc6d;
background: linear-gradient(135deg, #fdfc6d, #9EFD6D);

Monochromatic scale

Palettes built from #fdfc6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc6d in the Color Lab