Skip to content

#ffcd4e

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

RGB
255, 205, 78
HSL
43°, 100%, 65%
CMYK
0, 20, 69, 0
Luminance
0.6547

Every format

HEX#ffcd4e
RGBrgb(255, 205, 78)
HSLhsl(43, 100%, 65%)
CMYKcmyk(0%, 20%, 69%, 0%)
LABlab(84.7 5.1 67.2)
LCHlch(84.7 67.3 85.7)
OKLCHoklch(0.870 0.150 86.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green80.4%
Blue30.6%

CMYK percentages

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

Color previews

#ffcd4e text on a black background

contrast 14.09:1

Card sample

#ffcd4e text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd4e in the Color Lab