Skip to content

#ebba50

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

RGB
235, 186, 80
HSL
41°, 80%, 62%
CMYK
0, 21, 66, 8
Luminance
0.5336

Every format

HEX#ebba50
RGBrgb(235, 186, 80)
HSLhsl(41, 80%, 62%)
CMYKcmyk(0%, 21%, 66%, 8%)
LABlab(78.1 6.7 58.7)
LCHlch(78.1 59.1 83.5)
OKLCHoklch(0.814 0.134 83.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebba50 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ebba50 on black: 11.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green72.9%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta20.9%
Yellow66.0%
Key (black)7.8%

Color previews

#ebba50 text on a black background

contrast 11.67:1

Card sample

#ebba50 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebba50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebba50 in the Color Lab