Skip to content

#eceb30

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

RGB
236, 235, 48
HSL
60°, 83%, 56%
CMYK
0, 0, 80, 8
Luminance
0.7746

Every format

HEX#eceb30
RGBrgb(236, 235, 48)
HSLhsl(60, 83%, 56%)
CMYKcmyk(0%, 0%, 80%, 8%)
LABlab(90.5 -19.1 81.9)
LCHlch(90.5 84.1 103.1)
OKLCHoklch(0.912 0.188 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eceb30 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#eceb30 on black: 16.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.2%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow79.7%
Key (black)7.5%

Color previews

#eceb30 text on a black background

contrast 16.49:1

Card sample

#eceb30 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 235, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 235, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eceb30;
background: linear-gradient(135deg, #eceb30, #70EC30);

Monochromatic scale

Palettes built from #eceb30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceb30 in the Color Lab