Skip to content

#ffee28

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

RGB
255, 238, 40
HSL
55°, 100%, 58%
CMYK
0, 7, 84, 0
Luminance
0.8256

Every format

HEX#ffee28
RGBrgb(255, 238, 40)
HSLhsl(55, 100%, 58%)
CMYKcmyk(0%, 7%, 84%, 0%)
LABlab(92.8 -12.8 86.3)
LCHlch(92.8 87.3 98.5)
OKLCHoklch(0.934 0.190 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green93.3%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow84.3%
Key (black)0.0%

Color previews

#ffee28 text on a black background

contrast 17.51:1

Card sample

#ffee28 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffee28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee28 in the Color Lab