Skip to content

#ffda4d

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

RGB
255, 218, 77
HSL
48°, 100%, 65%
CMYK
0, 15, 70, 0
Luminance
0.7194

Every format

HEX#ffda4d
RGBrgb(255, 218, 77)
HSLhsl(48, 100%, 65%)
CMYKcmyk(0%, 15%, 70%, 0%)
LABlab(87.9 -1.6 70.8)
LCHlch(87.9 70.8 91.3)
OKLCHoklch(0.896 0.158 94.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffda4d on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ffda4d on black: 15.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.5%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow69.8%
Key (black)0.0%

Color previews

#ffda4d text on a black background

contrast 15.39:1

Card sample

#ffda4d text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffda4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffda4d in the Color Lab