Skip to content

#fdf089

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

RGB
253, 240, 137
HSL
53°, 97%, 77%
CMYK
0, 5, 46, 1
Luminance
0.8501

Every format

HEX#fdf089
RGBrgb(253, 240, 137)
HSLhsl(53, 97%, 77%)
CMYKcmyk(0%, 5%, 46%, 1%)
LABlab(93.9 -9.2 51.1)
LCHlch(93.9 51.9 100.2)
OKLCHoklch(0.944 0.125 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.1%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow45.8%
Key (black)0.8%

Color previews

#fdf089 text on a black background

contrast 18.00:1

Card sample

#fdf089 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf089

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf089 in the Color Lab