Skip to content

#ebdb22

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

RGB
235, 219, 34
HSL
55°, 83%, 53%
CMYK
0, 7, 86, 8
Luminance
0.6844

Every format

HEX#ebdb22
RGBrgb(235, 219, 34)
HSLhsl(55, 83%, 53%)
CMYKcmyk(0%, 7%, 86%, 8%)
LABlab(86.2 -12.0 81.5)
LCHlch(86.2 82.4 98.4)
OKLCHoklch(0.877 0.179 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green85.9%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow85.5%
Key (black)7.8%

Color previews

#ebdb22 text on a black background

contrast 14.69:1

Card sample

#ebdb22 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb22 in the Color Lab