Skip to content

#ebaa13

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

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

Every format

HEX#ebaa13
RGBrgb(235, 170, 19)
HSLhsl(42, 85%, 50%)
CMYKcmyk(0%, 28%, 92%, 8%)
LABlab(73.8 13.0 74.7)
LCHlch(73.8 75.8 80.1)
OKLCHoklch(0.779 0.158 80.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green66.7%
Blue7.5%

CMYK percentages

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

Color previews

#ebaa13 text on a black background

contrast 10.29:1

Card sample

#ebaa13 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebaa13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebaa13 in the Color Lab