Skip to content

#ebfc30

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

RGB
235, 252, 48
HSL
65°, 97%, 59%
CMYK
7, 0, 81, 1
Luminance
0.8750

Every format

HEX#ebfc30
RGBrgb(235, 252, 48)
HSLhsl(65, 97%, 59%)
CMYKcmyk(7%, 0%, 81%, 1%)
LABlab(95.0 -27.5 85.7)
LCHlch(95.0 90.0 107.8)
OKLCHoklch(0.947 0.204 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green98.8%
Blue18.8%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow81.0%
Key (black)1.2%

Color previews

#ebfc30 text on a black background

contrast 18.50:1

Card sample

#ebfc30 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfc30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc30 in the Color Lab