Skip to content

#eaf049

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

RGB
234, 240, 73
HSL
62°, 85%, 61%
CMYK
3, 0, 70, 6
Luminance
0.8029

Every format

HEX#eaf049
RGBrgb(234, 240, 73)
HSLhsl(62, 85%, 61%)
CMYKcmyk(3%, 0%, 70%, 6%)
LABlab(91.8 -21.3 75.5)
LCHlch(91.8 78.5 105.8)
OKLCHoklch(0.922 0.180 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaf049 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#eaf049 on black: 17.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green94.1%
Blue28.6%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow69.6%
Key (black)5.9%

Color previews

#eaf049 text on a black background

contrast 17.06:1

Card sample

#eaf049 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 240, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 240, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eaf049;
background: linear-gradient(135deg, #eaf049, #7BF049);

Monochromatic scale

Palettes built from #eaf049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf049 in the Color Lab