Maroon Colors  ·  Color Library

Palettes / Colors / #E4E940

#E4E940 — Vivid Yellow

#E4E940 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 #E4E940 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.

#E4E940 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 #453FE9; it also sits naturally between #E99A3F and #8EE93F. In the palettes below you can see it working alongside real color combinations from our collection.

#E4E940 · RGB 228, 233, 64

Download PNG swatch SVG

Color values

HEX#E4E940
RGB228, 233, 64
HSL62°, 79%, 58%
HSV62°, 73%, 91%
CMYK2%, 0%, 73%, 9%
XYZ62.06, 75.14, 16.08
Yxy75.14, 0.4049, 0.4902
CIE-Lab89.46, -20.80, 76.10
Hunter Lab86.68, -19.58, 46.69

RGB & CMYK percentages

Red 89% · Green 91% · Blue 25%

Cyan 2% · Magenta 0% · Yellow 73% · Key 9%

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

Previews

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

CSS code for #E4E940

.text { color: #E4E940; }
.background { background-color: #E4E940; }
.border { border: 3px solid #E4E940; }
.text-rgb { color: rgb(228, 233, 64); }
.text-hsl { color: hsl(62, 79%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #E4E940; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(228, 233, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #E4E940; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(228, 233, 64, 0.8); }

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

Shades of #E4E940

#E0E628#D0D719#BAC016#9FA413#898D11#73770E#595B0B#424408#282905#121202

Tints of #E4E940

#E6EB52#E8ED64#EAEE72#EDF184#F0F396#F2F5A8#F5F7BB#F7F9C8#FAFBDA#FCFDED

Tones of #E4E940

#D8DD4B#CCD058#C1C464#B6B86F#ABAD7B#9FA088

Color harmonies

Complementary — #453FE9:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.31:1 Fails
Against black text16.03:1 AAA

Best text color on #E4E940: #000000.

Semi-transparent (opacity) text on #E4E940

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 #E4E940: ·

How #E4E940 looks with color blindness

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

Protanopia · #E6E669Deuteranopia · #E6E673Tritanopia · #E48990

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 Lime 500 · #CDDC39Material Yellow 500 · #FFEB3BMaterial Amber 500 · #FFC107

Palettes with a similar color

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

Modern Monsoon
#1311A2 · #716BEF · #E8EA3B · #F5F0C4
Amber Ruby Ember
#69900E · #E3ED4B · #4E15D4 · #B7A5F0
Amber Ruby Breeze
#8A9416 · #E1E237 · #6358E7 · #B3ACED
Amber Garden
#8CAA0F · #E3F04A · #5835EE · #9E92EF
Ruby Lagoon
#1F06AC · #0F42C0 · #5882E8 · #E3EF4F
Golden Whisper
#AC9C12 · #D5EB46 · #1E33E7 · #CBC8F6

Similar colors

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

#E8EA3B#E3ED4B#E1E237#E3F04A#E3EF4F#D5EB46#E5D93C#E3F838#D4E345#D3E444#F2DF3A#ECE24F

Browse neighbouring colors

← #E4E93F  ·  #E4E941 →

Frequently asked questions

What color is #E4E940?

#E4E940 is Vivid Yellow, a yellow color (RGB 228, 233, 64). Its closest standard named color is GreenYellow.

What is the RGB and HSL of #E4E940?

#E4E940 is RGB 228, 233, 64 — HSL 62°, 79%, 58% — CMYK 2%, 0%, 73%, 9%.

What colors go with #E4E940?

Its complement is #453FE9; analogous partners are #E99A3F and #8EE93F. It also appears in 6+ palettes in our collection.

Can I use #E4E940 for text?

Black text on #E4E940 has a contrast ratio of 16.03:1 (passes WCAG AA); white text gives 1.31:1.