Skip to content

#ffec41

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

RGB
255, 236, 65
HSL
54°, 100%, 63%
CMYK
0, 8, 75, 0
Luminance
0.8163

Every format

HEX#ffec41
RGBrgb(255, 236, 65)
HSLhsl(54, 100%, 63%)
CMYKcmyk(0%, 8%, 75%, 0%)
LABlab(92.4 -11.1 79.3)
LCHlch(92.4 80.1 98.0)
OKLCHoklch(0.931 0.178 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffec41 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ffec41 on black: 17.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.5%
Blue25.5%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow74.5%
Key (black)0.0%

Color previews

#ffec41 text on a black background

contrast 17.33:1

Card sample

#ffec41 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffec41

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffec41 in the Color Lab