#EDF28C Color Information

Hex color code: #EDF28C

A vivid yellow shade, #EDF28C appears as (237, 242, 140) in RGB and (63°, 80%, 75%) in HSL. It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#EDF28C
RGB
237, 242, 140
HSL
63°, 80%, 75%
CMYK
2%, 0%, 42%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EDF28C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

237, 242, 140

Red: 237 / Green: 242 / Blue: 140

HSL

63°, 80%, 75%

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

CMYK

2%, 0%, 42%, 5%

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

What color is #EDF28C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EDF28C to RGB:

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

HEX to HSL

Convert #EDF28C to HSL:

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

HEX to CMYK

Convert #EDF28C to CMYK:

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

Color Meaning and Usage

A dynamic yellow tone, #EDF28C has RGB (237, 242, 140) and HSL (63°, 80%, 75%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EDF28C is #918CF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2C48C.

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

Contrast with #EDF28C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EDF28C?

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

What is the RGB value of #EDF28C?

#EDF28C in RGB is (237, 242, 140) - 237 red, 242 green, and 140 blue.

How to use #EDF28C in CSS?

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

What colors go well with #EDF28C?

#918CF2 (complementary), #F2C48C (analogous), and #E2EB47 (lighter shade) work well with #EDF28C.