Skip to content

#ebfc16

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

RGB
235, 252, 22
HSL
64°, 98%, 54%
CMYK
7, 0, 91, 1
Luminance
0.8734

Every format

HEX#ebfc16
RGBrgb(235, 252, 22)
HSLhsl(64, 98%, 54%)
CMYKcmyk(7%, 0%, 91%, 1%)
LABlab(94.9 -28.1 90.3)
LCHlch(94.9 94.6 107.3)
OKLCHoklch(0.946 0.211 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green98.8%
Blue8.6%

CMYK percentages

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

Color previews

#ebfc16 text on a black background

contrast 18.47:1

Card sample

#ebfc16 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfc16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc16 in the Color Lab