Skip to content

#ffcd4f

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

RGB
255, 205, 79
HSL
43°, 100%, 66%
CMYK
0, 20, 69, 0
Luminance
0.6549

Every format

HEX#ffcd4f
RGBrgb(255, 205, 79)
HSLhsl(43, 100%, 66%)
CMYKcmyk(0%, 20%, 69%, 0%)
LABlab(84.7 5.1 66.8)
LCHlch(84.7 67.0 85.6)
OKLCHoklch(0.870 0.150 86.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green80.4%
Blue31.0%

CMYK percentages

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

Color previews

#ffcd4f text on a black background

contrast 14.10:1

Card sample

#ffcd4f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd4f in the Color Lab