Maroon Colors  ·  Color Library

Palettes / Colors / #E4E28C

#E4E28C — Light Yellow

#E4E28C is a yellow color we call Light Yellow, closest to the named color Khaki (#F0E68C). It belongs to the yellow family.

Color name

Closest CSS keyword: khaki (#F0E68C) — not an exact match. CSS khaki gives you #F0E68C, a different color; use #E4E28C 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.

#E4E28C 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 #8B8DE4; it also sits naturally between #E4B68B and #B9E48B. In the palettes below you can see it working alongside real color combinations from our collection.

#E4E28C · RGB 228, 226, 140

Download PNG swatch SVG

Color values

HEX#E4E28C
RGB228, 226, 140
HSL59°, 62%, 72%
HSV59°, 39%, 89%
CMYK0%, 1%, 39%, 11%
XYZ63.92, 72.78, 35.49
Yxy72.78, 0.3712, 0.4227
CIE-Lab88.34, -11.68, 42.26
Hunter Lab85.31, -11.16, 31.58

RGB & CMYK percentages

Red 89% · Green 89% · Blue 55%

Cyan 0% · Magenta 1% · Yellow 39% · Key 11%

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

Previews

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

CSS code for #E4E28C

.text { color: #E4E28C; }
.background { background-color: #E4E28C; }
.border { border: 3px solid #E4E28C; }
.text-rgb { color: rgb(228, 226, 140); }
.text-hsl { color: hsl(59, 62%, 72%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #E4E28C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(228, 226, 140, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #E4E28C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(228, 226, 140, 0.8); }

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

Shades of #E4E28C

#DDDB6E#D6D451#D0CE39#BAB82C#9D9B25#807E1E#636217#4A4911#2D2D0B#111004

Tints of #E4E28C

#E6E494#E9E8A0#EBEAA8#EEEDB5#EFEFBD#F1F1C5#F4F4D2#F6F6DA#F9F9E6#FBFBEE

Tones of #E4E28C

#DDDC92#D7D698#D1D09F#CBCAA4#C4C4AB#BEBEB1

Color harmonies

Complementary — #8B8DE4:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.35:1 Fails
Against black text15.56:1 AAA

Best text color on #E4E28C: #000000.

Semi-transparent (opacity) text on #E4E28C

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

How #E4E28C looks with color blindness

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

Protanopia · #E3E3A1Deuteranopia · #E3E3A6Tritanopia · #E4B1B5

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 Grey 500 · #9E9E9E

Palettes with a similar color

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

Golden Petal
#E4E18D · #AFE47C · #25C72E · #2EB782
Palette E5df88
#E5DF88 · #E8E8E8 · #A37EBA · #4C4C4C
Palette 335c49
#335C49 · #678C40 · #BDBE36 · #E5DD90
Palette Ff9b00
#FF9B00 · #FFE100 · #FFC900 · #EBE389
Ruby Ember
#030164 · #363199 · #2D7495 · #E8E085
Palette A3dc9a
#A3DC9A · #DEE791 · #FFF9BD · #FFD6BA

Similar colors

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

#E4E18D#E5DF88#E5DD90#EBE389#E8E085#DEE791#E5E483#E9E294#DDDC92#DCDC86#E3D885#EDDB92

Browse neighbouring colors

← #E4E28B  ·  #E4E28D →

Frequently asked questions

What color is #E4E28C?

#E4E28C is Light Yellow, a yellow color (RGB 228, 226, 140). Its closest standard named color is Khaki.

What is the RGB and HSL of #E4E28C?

#E4E28C is RGB 228, 226, 140 — HSL 59°, 62%, 72% — CMYK 0%, 1%, 39%, 11%.

What colors go with #E4E28C?

Its complement is #8B8DE4; analogous partners are #E4B68B and #B9E48B. It also appears in 6+ palettes in our collection.

Can I use #E4E28C for text?

Black text on #E4E28C has a contrast ratio of 15.56:1 (passes WCAG AA); white text gives 1.35:1.