Skip to content

#ebbe2f

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

RGB
235, 190, 47
HSL
46°, 83%, 55%
CMYK
0, 19, 80, 8
Luminance
0.5469

Every format

HEX#ebbe2f
RGBrgb(235, 190, 47)
HSLhsl(46, 83%, 55%)
CMYKcmyk(0%, 19%, 80%, 8%)
LABlab(78.9 3.1 72.0)
LCHlch(78.9 72.1 87.5)
OKLCHoklch(0.819 0.155 89.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbe2f on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ebbe2f on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green74.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta19.1%
Yellow80.0%
Key (black)7.8%

Color previews

#ebbe2f text on a black background

contrast 11.94:1

Card sample

#ebbe2f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebbe2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebbe2f in the Color Lab