Skip to content

#ffc941

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

RGB
255, 201, 65
HSL
43°, 100%, 63%
CMYK
0, 21, 75, 0
Luminance
0.6341

Every format

HEX#ffc941
RGBrgb(255, 201, 65)
HSLhsl(43, 100%, 63%)
CMYKcmyk(0%, 21%, 75%, 0%)
LABlab(83.7 6.6 71.1)
LCHlch(83.7 71.4 84.7)
OKLCHoklch(0.862 0.157 86.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green78.8%
Blue25.5%

CMYK percentages

Cyan0.0%
Magenta21.2%
Yellow74.5%
Key (black)0.0%

Color previews

#ffc941 text on a black background

contrast 13.68:1

Card sample

#ffc941 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc941

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc941 in the Color Lab