Skip to content

#ebfc28

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

RGB
235, 252, 40
HSL
65°, 97%, 57%
CMYK
7, 0, 84, 1
Luminance
0.8744

Every format

HEX#ebfc28
RGBrgb(235, 252, 40)
HSLhsl(65, 97%, 57%)
CMYKcmyk(7%, 0%, 84%, 1%)
LABlab(94.9 -27.8 87.4)
LCHlch(94.9 91.7 107.6)
OKLCHoklch(0.947 0.207 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfc28 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ebfc28 on black: 18.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green98.8%
Blue15.7%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow84.1%
Key (black)1.2%

Color previews

#ebfc28 text on a black background

contrast 18.49:1

Card sample

#ebfc28 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 252, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 252, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebfc28;
background: linear-gradient(135deg, #ebfc28, #5EFC28);

Monochromatic scale

Palettes built from #ebfc28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc28 in the Color Lab