Skip to content

#ffef1e

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

RGB
255, 239, 30
HSL
56°, 100%, 56%
CMYK
0, 6, 88, 0
Luminance
0.8309

Every format

HEX#ffef1e
RGBrgb(255, 239, 30)
HSLhsl(56, 100%, 56%)
CMYKcmyk(0%, 6%, 88%, 0%)
LABlab(93.0 -13.5 88.4)
LCHlch(93.0 89.4 98.7)
OKLCHoklch(0.935 0.194 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green93.7%
Blue11.8%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow88.2%
Key (black)0.0%

Color previews

#ffef1e text on a black background

contrast 17.62:1

Card sample

#ffef1e text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffef1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffef1e in the Color Lab