Skip to content

#ffdf94

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

RGB
255, 223, 148
HSL
42°, 100%, 79%
CMYK
0, 13, 42, 0
Luminance
0.7617

Every format

HEX#ffdf94
RGBrgb(255, 223, 148)
HSLhsl(42, 100%, 79%)
CMYKcmyk(0%, 13%, 42%, 0%)
LABlab(89.9 1.2 40.8)
LCHlch(89.9 40.8 88.3)
OKLCHoklch(0.914 0.100 87.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdf94 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#ffdf94 on black: 16.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green87.5%
Blue58.0%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow42.0%
Key (black)0.0%

Color previews

#ffdf94 text on a black background

contrast 16.23:1

Card sample

#ffdf94 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdf94

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdf94 in the Color Lab