#EBF7A2 Color Information

Hex color code: #EBF7A2

A delicate yellow shade, #EBF7A2 appears as (235, 247, 162) in RGB and (68°, 84%, 80%) in HSL. It is often used for branding and logos.

Try:
Color NameKhaki
HEX
#EBF7A2
RGB
235, 247, 162
HSL
68°, 84%, 80%
CMYK
5%, 0%, 34%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EBF7A2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

235, 247, 162

Red: 235 / Green: 247 / Blue: 162

HSL

68°, 84%, 80%

Hue: 68° / Saturation: 84% / Lightness: 80%

CMYK

5%, 0%, 34%, 3%

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

What color is #EBF7A2?

#EBF7A2 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EBF7A2 to RGB:

rgb(235, 247, 162)HEX to RGB Converter →

HEX to HSL

Convert #EBF7A2 to HSL:

hsl(68, 84%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #EBF7A2 to CMYK:

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

Color Meaning and Usage

#EBF7A2 is a soft yellow color with RGB values of 235, 247, 162 and HSL of 68°, 84%, 80%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EBF7A2 is #ADA1F7, creating high-contrast pairings. For softer combinations, try analogous colors like #F7D7A1.

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

Contrast with #EBF7A2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EBF7A2?

#EBF7A2 is a soft yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EBF7A2?

#EBF7A2 in RGB is (235, 247, 162) - 235 red, 247 green, and 162 blue.

How to use #EBF7A2 in CSS?

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

What colors go well with #EBF7A2?

#ADA1F7 (complementary), #F7D7A1 (analogous), and #DDF15B (lighter shade) work well with #EBF7A2.