Skip to content

#ebdb26

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

RGB
235, 219, 38
HSL
55°, 83%, 54%
CMYK
0, 7, 84, 8
Luminance
0.6847

Every format

HEX#ebdb26
RGBrgb(235, 219, 38)
HSLhsl(55, 83%, 54%)
CMYKcmyk(0%, 7%, 84%, 8%)
LABlab(86.2 -11.9 80.7)
LCHlch(86.2 81.5 98.4)
OKLCHoklch(0.877 0.178 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb26 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb26 on black: 14.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green85.9%
Blue14.9%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow83.8%
Key (black)7.8%

Color previews

#ebdb26 text on a black background

contrast 14.69:1

Card sample

#ebdb26 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 219, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 219, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdb26;
background: linear-gradient(135deg, #ebdb26, #78EB26);

Monochromatic scale

Palettes built from #ebdb26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb26 in the Color Lab