Skip to content

#eceb28

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

RGB
236, 235, 40
HSL
60°, 84%, 54%
CMYK
0, 0, 83, 8
Luminance
0.7740

Every format

HEX#eceb28
RGBrgb(236, 235, 40)
HSLhsl(60, 84%, 54%)
CMYKcmyk(0%, 0%, 83%, 8%)
LABlab(90.5 -19.3 83.8)
LCHlch(90.5 86.0 103.0)
OKLCHoklch(0.912 0.191 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.2%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow83.1%
Key (black)7.5%

Color previews

#eceb28 text on a black background

contrast 16.48:1

Card sample

#eceb28 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eceb28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceb28 in the Color Lab