Skip to content

#ebfb16

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

RGB
235, 251, 22
HSL
64°, 97%, 54%
CMYK
6, 0, 91, 2
Luminance
0.8671

Every format

HEX#ebfb16
RGBrgb(235, 251, 22)
HSLhsl(64, 97%, 54%)
CMYKcmyk(6%, 0%, 91%, 2%)
LABlab(94.6 -27.6 90.1)
LCHlch(94.6 94.2 107.0)
OKLCHoklch(0.944 0.210 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green98.4%
Blue8.6%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow91.2%
Key (black)1.6%

Color previews

#ebfb16 text on a black background

contrast 18.34:1

Card sample

#ebfb16 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfb16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfb16 in the Color Lab