Skip to content

#ebdc3d

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

RGB
235, 220, 61
HSL
55°, 81%, 58%
CMYK
0, 6, 74, 8
Luminance
0.6919

Every format

HEX#ebdc3d
RGBrgb(235, 220, 61)
HSLhsl(55, 81%, 58%)
CMYKcmyk(0%, 6%, 74%, 8%)
LABlab(86.6 -11.7 74.6)
LCHlch(86.6 75.5 98.9)
OKLCHoklch(0.880 0.169 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green86.3%
Blue23.9%

CMYK percentages

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

Color previews

#ebdc3d text on a black background

contrast 14.84:1

Card sample

#ebdc3d text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdc3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdc3d in the Color Lab