Skip to content

#ebdb16

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

RGB
235, 219, 22
HSL
56°, 84%, 50%
CMYK
0, 7, 91, 8
Luminance
0.6838

Every format

HEX#ebdb16
RGBrgb(235, 219, 22)
HSLhsl(56, 84%, 50%)
CMYKcmyk(0%, 7%, 91%, 8%)
LABlab(86.2 -12.2 83.6)
LCHlch(86.2 84.5 98.3)
OKLCHoklch(0.877 0.182 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green85.9%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow90.6%
Key (black)7.8%

Color previews

#ebdb16 text on a black background

contrast 14.68:1

Card sample

#ebdb16 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb16 in the Color Lab