Skip to content

#ebdb45

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

RGB
235, 219, 69
HSL
54°, 81%, 60%
CMYK
0, 7, 71, 8
Luminance
0.6875

Every format

HEX#ebdb45
RGBrgb(235, 219, 69)
HSLhsl(54, 81%, 60%)
CMYKcmyk(0%, 7%, 71%, 8%)
LABlab(86.4 -10.8 71.6)
LCHlch(86.4 72.5 98.6)
OKLCHoklch(0.879 0.163 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb45 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb45 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green85.9%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow70.6%
Key (black)7.8%

Color previews

#ebdb45 text on a black background

contrast 14.75:1

Card sample

#ebdb45 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb45 in the Color Lab