#DEF5A1 Color Information

Hex color code: #DEF5A1

#DEF5A1 is a soft green color. In RGB it is (222, 245, 161), and in HSL it is (76°, 81%, 80%). It is often used for branding and logos.

Try:
Color NameKhaki
HEX
#DEF5A1
RGB
222, 245, 161
HSL
76°, 81%, 80%
CMYK
9%, 0%, 34%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF5A1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 245, 161

Red: 222 / Green: 245 / Blue: 161

HSL

76°, 81%, 80%

Hue: 76° / Saturation: 81% / Lightness: 80%

CMYK

9%, 0%, 34%, 4%

Cyan: 9% / Magenta: 0% / Yellow: 34% / Key: 4%

What color is #DEF5A1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF5A1 to RGB:

rgb(222, 245, 161)HEX to RGB Converter →

HEX to HSL

Convert #DEF5A1 to HSL:

hsl(76, 81%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF5A1 to CMYK:

cmyk(9%, 0%, 34%, 4%)Color Converter →

Color Meaning and Usage

A soft green tone, #DEF5A1 has RGB (222, 245, 161) and HSL (76°, 81%, 80%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF5A1 is #B9A3F5, creating high-contrast pairings. For softer combinations, try analogous colors like #F5E2A3.

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

Contrast with #DEF5A1

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 #DEF5A1?

#DEF5A1 is a soft green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #DEF5A1?

#DEF5A1 in RGB is (222, 245, 161) - 222 red, 245 green, and 161 blue.

How to use #DEF5A1 in CSS?

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

What colors go well with #DEF5A1?

#B9A3F5 (complementary), #F5E2A3 (analogous), and #C7EE5D (lighter shade) work well with #DEF5A1.