Skip to content

#ffcd3f

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

RGB
255, 205, 63
HSL
44°, 100%, 62%
CMYK
0, 20, 75, 0
Luminance
0.6528

Every format

HEX#ffcd3f
RGBrgb(255, 205, 63)
HSLhsl(44, 100%, 62%)
CMYKcmyk(0%, 20%, 75%, 0%)
LABlab(84.6 4.4 72.7)
LCHlch(84.6 72.8 86.5)
OKLCHoklch(0.869 0.159 88.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green80.4%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow75.3%
Key (black)0.0%

Color previews

#ffcd3f text on a black background

contrast 14.06:1

Card sample

#ffcd3f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcd3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcd3f in the Color Lab