Skip to content

#ffdf92

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

RGB
255, 223, 146
HSL
42°, 100%, 79%
CMYK
0, 13, 43, 0
Luminance
0.7611

Every format

HEX#ffdf92
RGBrgb(255, 223, 146)
HSLhsl(42, 100%, 79%)
CMYKcmyk(0%, 13%, 43%, 0%)
LABlab(89.9 1.0 41.7)
LCHlch(89.9 41.8 88.6)
OKLCHoklch(0.913 0.102 87.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green87.5%
Blue57.3%

CMYK percentages

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

Color previews

#ffdf92 text on a black background

contrast 16.22:1

Card sample

#ffdf92 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdf92 in the Color Lab