Skip to content

#ebff40

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

RGB
235, 255, 64
HSL
66°, 100%, 63%
CMYK
8, 0, 75, 0
Luminance
0.8955

Every format

HEX#ebff40
RGBrgb(235, 255, 64)
HSLhsl(66, 100%, 63%)
CMYKcmyk(8%, 0%, 75%, 0%)
LABlab(95.8 -28.4 82.2)
LCHlch(95.8 87.0 109.0)
OKLCHoklch(0.954 0.200 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebff40 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#ebff40 on black: 18.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green100.0%
Blue25.1%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow74.9%
Key (black)0.0%

Color previews

#ebff40 text on a black background

contrast 18.91:1

Card sample

#ebff40 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 255, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 255, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebff40;
background: linear-gradient(135deg, #ebff40, #6BFF40);

Monochromatic scale

Palettes built from #ebff40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebff40 in the Color Lab