#E2CC28 Color Information

Hex color code: #E2CC28

A dynamic yellow shade, #E2CC28 appears as (226, 204, 40) in RGB and (53°, 76%, 52%) in HSL. It is widely used in graphic design.

Try:
Color NameGoldenrod
HEX
#E2CC28
RGB
226, 204, 40
HSL
53°, 76%, 52%
CMYK
0%, 10%, 82%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #E2CC28; 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 #E2CC28; background-color: #E2CC2815; }

Alert / Toast

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

Link / Accent

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

a { color: #E2CC28; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

226, 204, 40

Red: 226 / Green: 204 / Blue: 40

HSL

53°, 76%, 52%

Hue: 53° / Saturation: 76% / Lightness: 52%

CMYK

0%, 10%, 82%, 11%

Cyan: 0% / Magenta: 10% / Yellow: 82% / Key: 11%

What color is #E2CC28?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E2CC28 to RGB:

rgb(226, 204, 40)HEX to RGB Converter →

HEX to HSL

Convert #E2CC28 to HSL:

hsl(53, 76%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #E2CC28 to CMYK:

cmyk(0%, 10%, 82%, 11%)Color Converter →

Color Meaning and Usage

#E2CC28 is a dynamic yellow color with RGB values of 226, 204, 40 and HSL of 53°, 76%, 52%. This orange-yellow hue evokes optimism and creativity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E2CC28 is #283DE2, creating high-contrast pairings. For softer combinations, try analogous colors like #E26F28.

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

Contrast with #E2CC28

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E2CC28?

#E2CC28 is a dynamic yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #E2CC28?

#E2CC28 in RGB is (226, 204, 40) - 226 red, 204 green, and 40 blue.

How to use #E2CC28 in CSS?

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

What colors go well with #E2CC28?

#283DE2 (complementary), #E26F28 (analogous), and #A69517 (lighter shade) work well with #E2CC28.