Skip to content

#ebfc45

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

RGB
235, 252, 69
HSL
66°, 97%, 63%
CMYK
7, 0, 73, 1
Luminance
0.8771

Every format

HEX#ebfc45
RGBrgb(235, 252, 69)
HSLhsl(66, 97%, 63%)
CMYKcmyk(7%, 0%, 73%, 1%)
LABlab(95.0 -26.8 80.0)
LCHlch(95.0 84.3 108.5)
OKLCHoklch(0.948 0.194 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfc45 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ebfc45 on black: 18.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green98.8%
Blue27.1%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow72.6%
Key (black)1.2%

Color previews

#ebfc45 text on a black background

contrast 18.54:1

Card sample

#ebfc45 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfc45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc45 in the Color Lab