Skip to content

#ffcd49

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

RGB
255, 205, 73
HSL
44°, 100%, 64%
CMYK
0, 20, 71, 0
Luminance
0.6540

Every format

HEX#ffcd49
RGBrgb(255, 205, 73)
HSLhsl(44, 100%, 64%)
CMYKcmyk(0%, 20%, 71%, 0%)
LABlab(84.7 4.8 69.1)
LCHlch(84.7 69.3 86.0)
OKLCHoklch(0.870 0.154 87.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcd49 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ffcd49 on black: 14.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.4%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow71.4%
Key (black)0.0%

Color previews

#ffcd49 text on a black background

contrast 14.08:1

Card sample

#ffcd49 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd49 in the Color Lab