Skip to content

#eceb2f

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

RGB
236, 235, 47
HSL
60°, 83%, 56%
CMYK
0, 0, 80, 8
Luminance
0.7745

Every format

HEX#eceb2f
RGBrgb(236, 235, 47)
HSLhsl(60, 83%, 56%)
CMYKcmyk(0%, 0%, 80%, 8%)
LABlab(90.5 -19.1 82.2)
LCHlch(90.5 84.4 103.1)
OKLCHoklch(0.912 0.188 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.2%
Blue18.4%

CMYK percentages

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

Color previews

#eceb2f text on a black background

contrast 16.49:1

Card sample

#eceb2f text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eceb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceb2f in the Color Lab