Skip to content

#ebdf20

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

RGB
235, 223, 32
HSL
57°, 84%, 52%
CMYK
0, 5, 86, 8
Luminance
0.7054

Every format

HEX#ebdf20
RGBrgb(235, 223, 32)
HSLhsl(57, 84%, 52%)
CMYKcmyk(0%, 5%, 86%, 8%)
LABlab(87.3 -14.0 82.8)
LCHlch(87.3 83.9 99.6)
OKLCHoklch(0.885 0.183 105.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdf20 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf20 on black: 15.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow86.4%
Key (black)7.8%

Color previews

#ebdf20 text on a black background

contrast 15.11:1

Card sample

#ebdf20 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf20 in the Color Lab