Skip to content

#eaf950

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

RGB
234, 249, 80
HSL
65°, 93%, 65%
CMYK
6, 0, 68, 2
Luminance
0.8582

Every format

HEX#eaf950
RGBrgb(234, 249, 80)
HSLhsl(65, 93%, 65%)
CMYKcmyk(6%, 0%, 68%, 2%)
LABlab(94.2 -25.2 75.4)
LCHlch(94.2 79.5 108.5)
OKLCHoklch(0.942 0.185 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaf950 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#eaf950 on black: 18.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green97.6%
Blue31.4%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow67.9%
Key (black)2.4%

Color previews

#eaf950 text on a black background

contrast 18.16:1

Card sample

#eaf950 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 249, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 249, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eaf950;
background: linear-gradient(135deg, #eaf950, #79F950);

Monochromatic scale

Palettes built from #eaf950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf950 in the Color Lab