Skip to content

#ebfa2d

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

RGB
235, 250, 45
HSL
64°, 95%, 58%
CMYK
6, 0, 82, 2
Luminance
0.8622

Every format

HEX#ebfa2d
RGBrgb(235, 250, 45)
HSLhsl(64, 95%, 58%)
CMYKcmyk(6%, 0%, 82%, 2%)
LABlab(94.4 -26.7 85.9)
LCHlch(94.4 90.0 107.3)
OKLCHoklch(0.943 0.203 114.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfa2d on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ebfa2d on black: 18.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green98.0%
Blue17.6%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow82.0%
Key (black)2.0%

Color previews

#ebfa2d text on a black background

contrast 18.24:1

Card sample

#ebfa2d text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfa2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfa2d in the Color Lab