Skip to content

#ffcd14

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

RGB
255, 205, 20
HSL
47°, 100%, 54%
CMYK
0, 20, 92, 0
Luminance
0.6497

Every format

HEX#ffcd14
RGBrgb(255, 205, 20)
HSLhsl(47, 100%, 54%)
CMYKcmyk(0%, 20%, 92%, 0%)
LABlab(84.5 3.4 83.4)
LCHlch(84.5 83.4 87.7)
OKLCHoklch(0.867 0.175 90.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green80.4%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow92.2%
Key (black)0.0%

Color previews

#ffcd14 text on a black background

contrast 13.99:1

Card sample

#ffcd14 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd14

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd14 in the Color Lab