Skip to content

#ffda82

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

RGB
255, 218, 130
HSL
42°, 100%, 76%
CMYK
0, 15, 49, 0
Luminance
0.7301

Every format

HEX#ffda82
RGBrgb(255, 218, 130)
HSLhsl(42, 100%, 76%)
CMYKcmyk(0%, 15%, 49%, 0%)
LABlab(88.5 2.0 47.8)
LCHlch(88.5 47.9 87.6)
OKLCHoklch(0.901 0.115 87.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffda82 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ffda82 on black: 15.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.5%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow49.0%
Key (black)0.0%

Color previews

#ffda82 text on a black background

contrast 15.60:1

Card sample

#ffda82 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffda82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffda82 in the Color Lab