#DEF6A2 Color Information

Hex color code: #DEF6A2

#DEF6A2 is a light green color. In RGB it is (222, 246, 162), and in HSL it is (77°, 82%, 80%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#DEF6A2
RGB
222, 246, 162
HSL
77°, 82%, 80%
CMYK
10%, 0%, 34%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF6A2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 246, 162

Red: 222 / Green: 246 / Blue: 162

HSL

77°, 82%, 80%

Hue: 77° / Saturation: 82% / Lightness: 80%

CMYK

10%, 0%, 34%, 4%

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

What color is #DEF6A2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF6A2 to RGB:

rgb(222, 246, 162)HEX to RGB Converter →

HEX to HSL

Convert #DEF6A2 to HSL:

hsl(77, 82%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF6A2 to CMYK:

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

Color Meaning and Usage

A ethereal green tone, #DEF6A2 has RGB (222, 246, 162) and HSL (77°, 82%, 80%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF6A2 is #BAA2F6, creating high-contrast pairings. For softer combinations, try analogous colors like #F6E4A2.

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

Contrast with #DEF6A2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DEF6A2?

#DEF6A2 is a ethereal green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #DEF6A2?

#DEF6A2 in RGB is (222, 246, 162) - 222 red, 246 green, and 162 blue.

How to use #DEF6A2 in CSS?

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

What colors go well with #DEF6A2?

#BAA2F6 (complementary), #F6E4A2 (analogous), and #C5EF5D (lighter shade) work well with #DEF6A2.