Skip to content

#ffee2c

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

RGB
255, 238, 44
HSL
55°, 100%, 59%
CMYK
0, 7, 83, 0
Luminance
0.8259

Every format

HEX#ffee2c
RGBrgb(255, 238, 44)
HSLhsl(55, 100%, 59%)
CMYKcmyk(0%, 7%, 83%, 0%)
LABlab(92.8 -12.8 85.5)
LCHlch(92.8 86.4 98.5)
OKLCHoklch(0.934 0.189 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green93.3%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow82.7%
Key (black)0.0%

Color previews

#ffee2c text on a black background

contrast 17.52:1

Card sample

#ffee2c text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffee2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee2c in the Color Lab