Skip to content

#fdf085

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

RGB
253, 240, 133
HSL
54°, 97%, 76%
CMYK
0, 5, 47, 1
Luminance
0.8490

Every format

HEX#fdf085
RGBrgb(253, 240, 133)
HSLhsl(54, 97%, 76%)
CMYKcmyk(0%, 5%, 47%, 1%)
LABlab(93.8 -9.6 52.9)
LCHlch(93.8 53.8 100.2)
OKLCHoklch(0.944 0.129 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf085 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#fdf085 on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue52.2%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow47.4%
Key (black)0.8%

Color previews

#fdf085 text on a black background

contrast 17.98:1

Card sample

#fdf085 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf085

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf085 in the Color Lab