Skip to content

#ebfc2f

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

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

Every format

HEX#ebfc2f
RGBrgb(235, 252, 47)
HSLhsl(65, 97%, 59%)
CMYKcmyk(7%, 0%, 81%, 1%)
LABlab(95.0 -27.6 85.9)
LCHlch(95.0 90.3 107.8)
OKLCHoklch(0.947 0.204 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ebfc2f text on a black background

contrast 18.50:1

Card sample

#ebfc2f text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc2f in the Color Lab