#E2D840 Color Information

Hex color code: #E2D840

A bold yellow shade, #E2D840 appears as (226, 216, 64) in RGB and (56°, 74%, 57%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameGoldenrod
HEX
#E2D840
RGB
226, 216, 64
HSL
56°, 74%, 57%
CMYK
0%, 4%, 72%, 11%

Shades

CSS Usage
color: #E2D840;
background-color: #E2D840;
border-color: #E2D840;
box-shadow: 0 0 10px #E2D840;
border: 2px solid #E2D840;
Tailwind Usage
bg-[#E2D840]
text-[#E2D840]
border-[#E2D840]
shadow-[0_0_10px_E2D840]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #E2D840, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #E2D840; color: #000000; }

Badge

New Feature
.badge { background-color: #E2D840; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #E2D840; background-color: #E2D84015; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #E2D84020; border-left: 4px solid #E2D840; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #E2D840; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #E2D840 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

226, 216, 64

Red: 226 / Green: 216 / Blue: 64

HSL

56°, 74%, 57%

Hue: 56° / Saturation: 74% / Lightness: 57%

CMYK

0%, 4%, 72%, 11%

Cyan: 0% / Magenta: 4% / Yellow: 72% / Key: 11%

What color is #E2D840?

#E2D840 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E2D840 to RGB:

rgb(226, 216, 64)HEX to RGB Converter →

HEX to HSL

Convert #E2D840 to HSL:

hsl(56, 74%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #E2D840 to CMYK:

cmyk(0%, 4%, 72%, 11%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #E2D840 has RGB (226, 216, 64) and HSL (56°, 74%, 57%). Known for evoking optimism and creativity, this orange-yellow hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E2D840 is #404BE2, creating high-contrast pairings. For softer combinations, try analogous colors like #E28740.

Use #E2D840 in CSS: color: #E2D840 or background-color: #E2D840. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #E2D840

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 14.13:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E2D840?

#E2D840 is a striking yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #E2D840?

#E2D840 in RGB is (226, 216, 64) - 226 red, 216 green, and 64 blue.

How to use #E2D840 in CSS?

Use #E2D840 directly in your CSS properties like color or background-color.

What colors go well with #E2D840?

#404BE2 (complementary), #E28740 (analogous), and #BAB01C (lighter shade) work well with #E2D840.