Skip to content

#ffd442

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

RGB
255, 212, 66
HSL
46°, 100%, 63%
CMYK
0, 17, 74, 0
Luminance
0.6874

Every format

HEX#ffd442
RGBrgb(255, 212, 66)
HSLhsl(46, 100%, 63%)
CMYKcmyk(0%, 17%, 74%, 0%)
LABlab(86.4 1.0 73.3)
LCHlch(86.4 73.3 89.2)
OKLCHoklch(0.883 0.161 91.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd442 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ffd442 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green83.1%
Blue25.9%

CMYK percentages

Cyan0.0%
Magenta16.9%
Yellow74.1%
Key (black)0.0%

Color previews

#ffd442 text on a black background

contrast 14.75:1

Card sample

#ffd442 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd442

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd442 in the Color Lab