Skip to content

#ebdb20

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

RGB
235, 219, 32
HSL
55°, 84%, 52%
CMYK
0, 7, 86, 8
Luminance
0.6843

Every format

HEX#ebdb20
RGBrgb(235, 219, 32)
HSLhsl(55, 84%, 52%)
CMYKcmyk(0%, 7%, 86%, 8%)
LABlab(86.2 -12.0 81.9)
LCHlch(86.2 82.8 98.4)
OKLCHoklch(0.877 0.180 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green85.9%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow86.4%
Key (black)7.8%

Color previews

#ebdb20 text on a black background

contrast 14.69:1

Card sample

#ebdb20 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb20 in the Color Lab