Skip to content

#fdf982

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

RGB
253, 249, 130
HSL
58°, 97%, 75%
CMYK
0, 2, 49, 1
Luminance
0.9025

Every format

HEX#fdf982
RGBrgb(253, 249, 130)
HSLhsl(58, 97%, 75%)
CMYKcmyk(0%, 2%, 49%, 1%)
LABlab(96.1 -14.2 57.0)
LCHlch(96.1 58.8 104.0)
OKLCHoklch(0.961 0.141 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf982 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdf982 on black: 19.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.6%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow48.6%
Key (black)0.8%

Color previews

#fdf982 text on a black background

contrast 19.05:1

Card sample

#fdf982 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf982

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf982 in the Color Lab