Skip to content

#ffda4e

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

RGB
255, 218, 78
HSL
48°, 100%, 65%
CMYK
0, 15, 69, 0
Luminance
0.7195

Every format

HEX#ffda4e
RGBrgb(255, 218, 78)
HSLhsl(48, 100%, 65%)
CMYKcmyk(0%, 15%, 69%, 0%)
LABlab(88.0 -1.5 70.4)
LCHlch(88.0 70.4 91.3)
OKLCHoklch(0.896 0.158 93.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.5%
Blue30.6%

CMYK percentages

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

Color previews

#ffda4e text on a black background

contrast 15.39:1

Card sample

#ffda4e text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffda4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffda4e in the Color Lab