Maroon Colors  ·  Color Library

Palettes / Colors / #ECFC40

#ECFC40 — Vivid Yellow

#ECFC40 is a yellow color we call Vivid Yellow, closest to the named color GreenYellow (#ADFF2F). It belongs to the yellow family.

Color name

Closest CSS keyword: greenyellow (#ADFF2F) — not an exact match. CSS greenyellow gives you #ADFF2F, a different color; use #ECFC40 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#ECFC40 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #5040FC; it also sits naturally between #FCAE40 and #8EFC40. In the palettes below you can see it working alongside real color combinations from our collection.

#ECFC40 · RGB 236, 252, 64

Download PNG swatch SVG

Color values

HEX#ECFC40
RGB236, 252, 64
HSL65°, 97%, 62%
HSV65°, 75%, 99%
CMYK6%, 0%, 75%, 1%
XYZ70.33, 87.82, 18.10
Yxy87.82, 0.3990, 0.4983
CIE-Lab95.09, -26.58, 81.57
Hunter Lab93.71, -25.44, 50.94

RGB & CMYK percentages

Red 93% · Green 99% · Blue 25%

Cyan 6% · Magenta 0% · Yellow 75% · Key 1%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #ECFC40 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #ECFC40 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #ECFC40

.text { color: #ECFC40; }
.background { background-color: #ECFC40; }
.border { border: 3px solid #ECFC40; }
.text-rgb { color: rgb(236, 252, 64); }
.text-hsl { color: hsl(65, 97%, 62%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #ECFC40; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(236, 252, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #ECFC40; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(236, 252, 64, 0.8); }

HTML: <p style="color:#ECFC40">Text here</p> · <div style="background-color:#ECFC40">Div content here</div>

Shades of #ECFC40

#E9FC22#E7FB04#D0E203#B4C403#98A603#7D8802#616902#4A5001#2E3201#121400

Tints of #ECFC40

#EEFC4F#F0FD63#F1FD72#F3FD86#F5FD96#F6FEA5#F8FEB9#FAFEC8#FCFEDC#FDFFEB

Tones of #ECFC40

#E1EF4E#D6E15B#CBD369#C0C775#B5B983#A9AC91

Color harmonies

Complementary — #5040FC:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.13:1 Fails
Against black text18.56:1 AAA

Best text color on #ECFC40: #000000.

Semi-transparent (opacity) text on #ECFC40

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #ECFC40: ·

How #ECFC40 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #F3F36DDeuteranopia · #F2F178Tritanopia · #ED9199

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Yellow 500 · #FFEB3BMaterial Lime 500 · #CDDC39Material Amber 500 · #FFC107

Palettes with a similar color

These palettes use a close neighbour of #ECFC40 rather than the exact color:

Cosmic Saffron
#0D1721 · #FA2F47 · #FF33CD · #EAFD43
Palette F0ff42
#F0FF42 · #82CD47 · #54B435 · #379237
Honey Voyage
#15322D · #FA2598 · #FC43DC · #F2F73C
Gentle Horizon
#111D2B · #98FE31 · #36F83D · #EFFD4A
Dusty Ruby Meadow
#260F29 · #1A93FB · #F7FE3D · #1CD0FD
Honey Ruby Zephyr
#2C1012 · #E3F838 · #52FE48 · #B04AFF

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#EAFD43#F0FF42#F2F73C#EFFD4A#F7FE3D#E3F838#ECFD33#FAFD3E#E3F04A#E4FF30#FBF23B#E8EA3B

Browse neighbouring colors

← #ECFC3F  ·  #ECFC41 →

Frequently asked questions

What color is #ECFC40?

#ECFC40 is Vivid Yellow, a yellow color (RGB 236, 252, 64). Its closest standard named color is GreenYellow.

What is the RGB and HSL of #ECFC40?

#ECFC40 is RGB 236, 252, 64 — HSL 65°, 97%, 62% — CMYK 6%, 0%, 75%, 1%.

What colors go with #ECFC40?

Its complement is #5040FC; analogous partners are #FCAE40 and #8EFC40. It also appears in 6+ palettes in our collection.

Can I use #ECFC40 for text?

Black text on #ECFC40 has a contrast ratio of 18.56:1 (passes WCAG AA); white text gives 1.13:1.