Skip to content

#ebbe4f

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

RGB
235, 190, 79
HSL
43°, 80%, 62%
CMYK
0, 19, 66, 8
Luminance
0.5505

Every format

HEX#ebbe4f
RGBrgb(235, 190, 79)
HSLhsl(43, 80%, 62%)
CMYKcmyk(0%, 19%, 66%, 8%)
LABlab(79.1 4.5 60.2)
LCHlch(79.1 60.4 85.7)
OKLCHoklch(0.821 0.137 86.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbe4f on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#ebbe4f on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green74.5%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta19.1%
Yellow66.4%
Key (black)7.8%

Color previews

#ebbe4f text on a black background

contrast 12.01:1

Card sample

#ebbe4f text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebbe4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebbe4f in the Color Lab