Skip to content

#ebac20

a balanced, electric yellow · warm · closest name: orange

RGB
235, 172, 32
HSL
41°, 84%, 52%
CMYK
0, 27, 86, 8
Luminance
0.4727

Every format

HEX#ebac20
RGBrgb(235, 172, 32)
HSLhsl(41, 84%, 52%)
CMYKcmyk(0%, 27%, 86%, 8%)
LABlab(74.4 12.2 72.4)
LCHlch(74.4 73.4 80.5)
OKLCHoklch(0.783 0.155 80.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebac20 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#ebac20 on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green67.5%
Blue12.5%

CMYK percentages

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

Color previews

#ebac20 text on a black background

contrast 10.45:1

Card sample

#ebac20 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebac20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebac20 in the Color Lab