Skip to content

#ebb128

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

RGB
235, 177, 40
HSL
42°, 83%, 54%
CMYK
0, 25, 83, 8
Luminance
0.4926

Every format

HEX#ebb128
RGBrgb(235, 177, 40)
HSLhsl(42, 83%, 54%)
CMYKcmyk(0%, 25%, 83%, 8%)
LABlab(75.6 9.7 71.3)
LCHlch(75.6 71.9 82.2)
OKLCHoklch(0.793 0.153 83.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebb128 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ebb128 on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green69.4%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta24.7%
Yellow83.0%
Key (black)7.8%

Color previews

#ebb128 text on a black background

contrast 10.85:1

Card sample

#ebb128 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebb128

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebb128 in the Color Lab