Skip to content

#eff40c

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

RGB
239, 244, 12
HSL
61°, 91%, 50%
CMYK
2, 0, 95, 4
Luminance
0.8308

Every format

HEX#eff40c
RGBrgb(239, 244, 12)
HSLhsl(61, 91%, 50%)
CMYKcmyk(2%, 0%, 95%, 4%)
LABlab(93.0 -22.8 90.0)
LCHlch(93.0 92.9 104.2)
OKLCHoklch(0.932 0.204 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.7%
Green95.7%
Blue4.7%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow95.1%
Key (black)4.3%

Color previews

#eff40c text on a black background

contrast 17.62:1

Card sample

#eff40c text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 244, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 244, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eff40c;
background: linear-gradient(135deg, #eff40c, #54F40C);

Monochromatic scale

Palettes built from #eff40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eff40c in the Color Lab