Skip to content

#ebdc4d

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

RGB
235, 220, 77
HSL
54°, 80%, 61%
CMYK
0, 6, 67, 8
Luminance
0.6938

Every format

HEX#ebdc4d
RGBrgb(235, 220, 77)
HSLhsl(54, 80%, 61%)
CMYKcmyk(0%, 6%, 67%, 8%)
LABlab(86.7 -10.9 69.0)
LCHlch(86.7 69.8 99.0)
OKLCHoklch(0.882 0.159 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdc4d on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ebdc4d on black: 14.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green86.3%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow67.2%
Key (black)7.8%

Color previews

#ebdc4d text on a black background

contrast 14.88:1

Card sample

#ebdc4d text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdc4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdc4d in the Color Lab