Skip to content

#ecfc3f

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

RGB
236, 252, 63
HSL
65°, 97%, 62%
CMYK
6, 0, 75, 1
Luminance
0.8781

Every format

HEX#ecfc3f
RGBrgb(236, 252, 63)
HSLhsl(65, 97%, 62%)
CMYKcmyk(6%, 0%, 75%, 1%)
LABlab(95.1 -26.6 81.9)
LCHlch(95.1 86.1 108.0)
OKLCHoklch(0.949 0.197 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfc3f on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ecfc3f on black: 18.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green98.8%
Blue24.7%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow75.0%
Key (black)1.2%

Color previews

#ecfc3f text on a black background

contrast 18.56:1

Card sample

#ecfc3f text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfc3f in the Color Lab