Skip to content

#ebbd2f

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

RGB
235, 189, 47
HSL
45°, 83%, 55%
CMYK
0, 20, 80, 8
Luminance
0.5426

Every format

HEX#ebbd2f
RGBrgb(235, 189, 47)
HSLhsl(45, 83%, 55%)
CMYKcmyk(0%, 20%, 80%, 8%)
LABlab(78.6 3.6 71.8)
LCHlch(78.6 71.9 87.1)
OKLCHoklch(0.817 0.155 89.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbd2f on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ebbd2f on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green74.1%
Blue18.4%

CMYK percentages

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

Color previews

#ebbd2f text on a black background

contrast 11.85:1

Card sample

#ebbd2f text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebbd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebbd2f in the Color Lab