Skip to content

#ffdf89

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

RGB
255, 223, 137
HSL
44°, 100%, 77%
CMYK
0, 13, 46, 0
Luminance
0.7584

Every format

HEX#ffdf89
RGBrgb(255, 223, 137)
HSLhsl(44, 100%, 77%)
CMYKcmyk(0%, 13%, 46%, 0%)
LABlab(89.8 0.1 46.0)
LCHlch(89.8 46.0 89.9)
OKLCHoklch(0.912 0.111 89.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdf89 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#ffdf89 on black: 16.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green87.5%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow46.3%
Key (black)0.0%

Color previews

#ffdf89 text on a black background

contrast 16.17:1

Card sample

#ffdf89 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdf89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdf89 in the Color Lab