Skip to content

#ffee42

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

RGB
255, 238, 66
HSL
55°, 100%, 63%
CMYK
0, 7, 74, 0
Luminance
0.8280

Every format

HEX#ffee42
RGBrgb(255, 238, 66)
HSLhsl(55, 100%, 63%)
CMYKcmyk(0%, 7%, 74%, 0%)
LABlab(92.9 -12.0 79.5)
LCHlch(92.9 80.4 98.6)
OKLCHoklch(0.935 0.179 103.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffee42 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ffee42 on black: 17.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.3%
Blue25.9%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow74.1%
Key (black)0.0%

Color previews

#ffee42 text on a black background

contrast 17.56:1

Card sample

#ffee42 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffee42

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee42 in the Color Lab