Skip to content

#ffc949

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

RGB
255, 201, 73
HSL
42°, 100%, 64%
CMYK
0, 21, 71, 0
Luminance
0.6351

Every format

HEX#ffc949
RGBrgb(255, 201, 73)
HSLhsl(42, 100%, 64%)
CMYKcmyk(0%, 21%, 71%, 0%)
LABlab(83.7 6.9 68.1)
LCHlch(83.7 68.5 84.2)
OKLCHoklch(0.862 0.152 85.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc949 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#ffc949 on black: 13.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green78.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta21.2%
Yellow71.4%
Key (black)0.0%

Color previews

#ffc949 text on a black background

contrast 13.70:1

Card sample

#ffc949 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc949

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc949 in the Color Lab