Skip to content

#ffda0f

a balanced, electric yellow · cool · “gold”

RGB
255, 218, 15
HSL
51°, 100%, 53%
CMYK
0, 15, 94, 0
Luminance
0.7144

Every format

HEX#ffda0f
RGBrgb(255, 218, 15)
HSLhsl(51, 100%, 53%)
CMYKcmyk(0%, 15%, 94%, 0%)
LABlab(87.7 -3.3 86.4)
LCHlch(87.7 86.4 92.2)
OKLCHoklch(0.893 0.182 96.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.5%
Blue5.9%

CMYK percentages

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

Color previews

#ffda0f text on a black background

contrast 15.29:1

Card sample

#ffda0f text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffda0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffda0f in the Color Lab