Skip to content

#ffda3d

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

RGB
255, 218, 61
HSL
49°, 100%, 62%
CMYK
0, 15, 76, 0
Luminance
0.7174

Every format

HEX#ffda3d
RGBrgb(255, 218, 61)
HSLhsl(49, 100%, 62%)
CMYKcmyk(0%, 15%, 76%, 0%)
LABlab(87.8 -2.3 76.4)
LCHlch(87.8 76.4 91.7)
OKLCHoklch(0.894 0.167 95.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffda3d on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ffda3d on black: 15.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.5%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow76.1%
Key (black)0.0%

Color previews

#ffda3d text on a black background

contrast 15.35:1

Card sample

#ffda3d text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffda3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffda3d in the Color Lab