Skip to content

#ffee2d

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

RGB
255, 238, 45
HSL
55°, 100%, 59%
CMYK
0, 7, 82, 0
Luminance
0.8260

Every format

HEX#ffee2d
RGBrgb(255, 238, 45)
HSLhsl(55, 100%, 59%)
CMYKcmyk(0%, 7%, 82%, 0%)
LABlab(92.8 -12.7 85.3)
LCHlch(92.8 86.2 98.5)
OKLCHoklch(0.934 0.188 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ffee2d text on a black background

contrast 17.52:1

Card sample

#ffee2d text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffee2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee2d in the Color Lab