Skip to content

#eced2f

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

RGB
236, 237, 47
HSL
60°, 84%, 56%
CMYK
0, 0, 80, 7
Luminance
0.7861

Every format

HEX#eced2f
RGBrgb(236, 237, 47)
HSLhsl(60, 84%, 56%)
CMYKcmyk(0%, 0%, 80%, 7%)
LABlab(91.1 -20.1 82.6)
LCHlch(91.1 85.0 103.6)
OKLCHoklch(0.916 0.190 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eced2f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#eced2f on black: 16.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.9%
Blue18.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow80.2%
Key (black)7.1%

Color previews

#eced2f text on a black background

contrast 16.72:1

Card sample

#eced2f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eced2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eced2f in the Color Lab