Skip to content

#ffee4f

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

RGB
255, 238, 79
HSL
54°, 100%, 66%
CMYK
0, 7, 69, 0
Luminance
0.8297

Every format

HEX#ffee4f
RGBrgb(255, 238, 79)
HSLhsl(54, 100%, 66%)
CMYKcmyk(0%, 7%, 69%, 0%)
LABlab(93.0 -11.5 75.1)
LCHlch(93.0 76.0 98.7)
OKLCHoklch(0.936 0.172 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffee4f on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ffee4f on black: 17.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.3%
Blue31.0%

CMYK percentages

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

Color previews

#ffee4f text on a black background

contrast 17.59:1

Card sample

#ffee4f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffee4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee4f in the Color Lab