Skip to content

#eafd2c

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

RGB
234, 253, 44
HSL
66°, 98%, 58%
CMYK
8, 0, 83, 1
Luminance
0.8792

Every format

HEX#eafd2c
RGBrgb(234, 253, 44)
HSLhsl(66, 98%, 58%)
CMYKcmyk(8%, 0%, 83%, 1%)
LABlab(95.1 -28.5 86.7)
LCHlch(95.1 91.3 108.2)
OKLCHoklch(0.948 0.207 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eafd2c on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#eafd2c on black: 18.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green99.2%
Blue17.3%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow82.6%
Key (black)0.8%

Color previews

#eafd2c text on a black background

contrast 18.58:1

Card sample

#eafd2c text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 253, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 253, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eafd2c;
background: linear-gradient(135deg, #eafd2c, #5EFD2C);

Monochromatic scale

Palettes built from #eafd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eafd2c in the Color Lab