Skip to content

#ebdc4f

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

RGB
235, 220, 79
HSL
54°, 80%, 62%
CMYK
0, 6, 66, 8
Luminance
0.6941

Every format

HEX#ebdc4f
RGBrgb(235, 220, 79)
HSLhsl(54, 80%, 62%)
CMYKcmyk(0%, 6%, 66%, 8%)
LABlab(86.7 -10.8 68.2)
LCHlch(86.7 69.1 99.0)
OKLCHoklch(0.882 0.157 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green86.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow66.4%
Key (black)7.8%

Color previews

#ebdc4f text on a black background

contrast 14.88:1

Card sample

#ebdc4f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdc4f in the Color Lab