Skip to content

#ebdc30

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

RGB
235, 220, 48
HSL
55°, 82%, 56%
CMYK
0, 6, 80, 8
Luminance
0.6906

Every format

HEX#ebdc30
RGBrgb(235, 220, 48)
HSLhsl(55, 82%, 56%)
CMYKcmyk(0%, 6%, 80%, 8%)
LABlab(86.5 -12.1 78.4)
LCHlch(86.5 79.4 98.8)
OKLCHoklch(0.880 0.175 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green86.3%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow79.6%
Key (black)7.8%

Color previews

#ebdc30 text on a black background

contrast 14.81:1

Card sample

#ebdc30 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 220, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 220, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdc30;
background: linear-gradient(135deg, #ebdc30, #7DEB30);

Monochromatic scale

Palettes built from #ebdc30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdc30 in the Color Lab