Skip to content

#eaf498

a light, electric yellow · cool · closest name: khaki

RGB
234, 244, 152
HSL
67°, 81%, 78%
CMYK
4, 0, 38, 4
Luminance
0.8446

Every format

HEX#eaf498
RGBrgb(234, 244, 152)
HSLhsl(67, 81%, 78%)
CMYKcmyk(4%, 0%, 38%, 4%)
LABlab(93.7 -16.9 43.2)
LCHlch(93.7 46.4 111.4)
OKLCHoklch(0.939 0.116 113.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaf498 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#eaf498 on black: 17.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green95.7%
Blue59.6%

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow37.7%
Key (black)4.3%

Color previews

#eaf498 text on a black background

contrast 17.89:1

Card sample

#eaf498 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eaf498

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf498 in the Color Lab