Skip to content

#ffcd39

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

RGB
255, 205, 57
HSL
45°, 100%, 61%
CMYK
0, 20, 78, 0
Luminance
0.6522

Every format

HEX#ffcd39
RGBrgb(255, 205, 57)
HSLhsl(45, 100%, 61%)
CMYKcmyk(0%, 20%, 78%, 0%)
LABlab(84.6 4.2 74.7)
LCHlch(84.6 74.8 86.8)
OKLCHoklch(0.869 0.162 88.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcd39 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ffcd39 on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.4%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow77.6%
Key (black)0.0%

Color previews

#ffcd39 text on a black background

contrast 14.04:1

Card sample

#ffcd39 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd39 in the Color Lab