#EAF28C Color Information

Hex color code: #EAF28C

A eye-catching yellow shade, #EAF28C appears as (234, 242, 140) in RGB and (65°, 80%, 75%) in HSL. It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#EAF28C
RGB
234, 242, 140
HSL
65°, 80%, 75%
CMYK
3%, 0%, 42%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EAF28C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

234, 242, 140

Red: 234 / Green: 242 / Blue: 140

HSL

65°, 80%, 75%

Hue: 65° / Saturation: 80% / Lightness: 75%

CMYK

3%, 0%, 42%, 5%

Cyan: 3% / Magenta: 0% / Yellow: 42% / Key: 5%

What color is #EAF28C?

#EAF28C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EAF28C to RGB:

rgb(234, 242, 140)HEX to RGB Converter →

HEX to HSL

Convert #EAF28C to HSL:

hsl(65, 80%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #EAF28C to CMYK:

cmyk(3%, 0%, 42%, 5%)Color Converter →

Color Meaning and Usage

#EAF28C is a dynamic yellow color with RGB values of 234, 242, 140 and HSL of 65°, 80%, 75%. This green hue evokes nature and harmony, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EAF28C is #958CF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2C88C.

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

Contrast with #EAF28C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EAF28C?

#EAF28C is a dynamic yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #EAF28C?

#EAF28C in RGB is (234, 242, 140) - 234 red, 242 green, and 140 blue.

How to use #EAF28C in CSS?

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

What colors go well with #EAF28C?

#958CF2 (complementary), #F2C88C (analogous), and #DDEB47 (lighter shade) work well with #EAF28C.