Skip to content

#ebfc80

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

RGB
235, 252, 128
HSL
68°, 95%, 75%
CMYK
7, 0, 49, 1
Luminance
0.8884

Every format

HEX#ebfc80
RGBrgb(235, 252, 128)
HSLhsl(68, 95%, 75%)
CMYKcmyk(7%, 0%, 49%, 1%)
LABlab(95.5 -22.8 57.0)
LCHlch(95.5 61.4 111.9)
OKLCHoklch(0.953 0.150 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfc80 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#ebfc80 on black: 18.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green98.8%
Blue50.2%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow49.2%
Key (black)1.2%

Color previews

#ebfc80 text on a black background

contrast 18.77:1

Card sample

#ebfc80 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfc80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc80 in the Color Lab