Skip to content

#efe921

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

RGB
239, 233, 33
HSL
58°, 87%, 53%
CMYK
0, 3, 86, 6
Luminance
0.7674

Every format

HEX#efe921
RGBrgb(239, 233, 33)
HSLhsl(58, 87%, 53%)
CMYKcmyk(0%, 3%, 86%, 6%)
LABlab(90.2 -17.2 85.1)
LCHlch(90.2 86.8 101.4)
OKLCHoklch(0.910 0.190 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efe921 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#efe921 on black: 16.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green91.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow86.2%
Key (black)6.3%

Color previews

#efe921 text on a black background

contrast 16.35:1

Card sample

#efe921 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efe921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efe921 in the Color Lab