Skip to content

#ebaa14

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

RGB
235, 170, 20
HSL
42°, 84%, 50%
CMYK
0, 28, 92, 8
Luminance
0.4646

Every format

HEX#ebaa14
RGBrgb(235, 170, 20)
HSLhsl(42, 84%, 50%)
CMYKcmyk(0%, 28%, 92%, 8%)
LABlab(73.8 13.0 74.5)
LCHlch(73.8 75.7 80.1)
OKLCHoklch(0.779 0.158 80.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebaa14 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#ebaa14 on black: 10.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green66.7%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta27.7%
Yellow91.5%
Key (black)7.8%

Color previews

#ebaa14 text on a black background

contrast 10.29:1

Card sample

#ebaa14 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebaa14

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebaa14 in the Color Lab