Skip to content

#ebac22

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

RGB
235, 172, 34
HSL
41°, 83%, 53%
CMYK
0, 27, 86, 8
Luminance
0.4728

Every format

HEX#ebac22
RGBrgb(235, 172, 34)
HSLhsl(41, 83%, 53%)
CMYKcmyk(0%, 27%, 86%, 8%)
LABlab(74.4 12.2 71.9)
LCHlch(74.4 72.9 80.4)
OKLCHoklch(0.784 0.154 80.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green67.5%
Blue13.3%

CMYK percentages

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

Color previews

#ebac22 text on a black background

contrast 10.46:1

Card sample

#ebac22 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebac22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebac22 in the Color Lab