Skip to content

#ebda45

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

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

Every format

HEX#ebda45
RGBrgb(235, 218, 69)
HSLhsl(54, 81%, 60%)
CMYKcmyk(0%, 7%, 71%, 8%)
LABlab(86.1 -10.3 71.4)
LCHlch(86.1 72.1 98.2)
OKLCHoklch(0.877 0.162 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green85.5%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta7.2%
Yellow70.6%
Key (black)7.8%

Color previews

#ebda45 text on a black background

contrast 14.65:1

Card sample

#ebda45 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebda45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebda45 in the Color Lab