Skip to content

#efec21

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

RGB
239, 236, 33
HSL
59°, 87%, 53%
CMYK
0, 1, 86, 6
Luminance
0.7845

Every format

HEX#efec21
RGBrgb(239, 236, 33)
HSLhsl(59, 87%, 53%)
CMYKcmyk(0%, 1%, 86%, 6%)
LABlab(91.0 -18.7 85.7)
LCHlch(91.0 87.7 102.3)
OKLCHoklch(0.916 0.193 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efec21 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#efec21 on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green92.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow86.2%
Key (black)6.3%

Color previews

#efec21 text on a black background

contrast 16.69:1

Card sample

#efec21 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 236, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 236, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #efec21;
background: linear-gradient(135deg, #efec21, #69EF21);

Monochromatic scale

Palettes built from #efec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efec21 in the Color Lab