#DEF1A7 Color Information

Hex color code: #DEF1A7

#DEF1A7 is a soft green color. In RGB it is (222, 241, 167), and in HSL it is (75°, 73%, 80%). It is frequently seen in web interfaces.

Try:
Color NameWheat
HEX
#DEF1A7
RGB
222, 241, 167
HSL
75°, 73%, 80%
CMYK
8%, 0%, 31%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF1A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 241, 167

Red: 222 / Green: 241 / Blue: 167

HSL

75°, 73%, 80%

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

CMYK

8%, 0%, 31%, 5%

Cyan: 8% / Magenta: 0% / Yellow: 31% / Key: 5%

What color is #DEF1A7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF1A7 to RGB:

rgb(222, 241, 167)HEX to RGB Converter →

HEX to HSL

Convert #DEF1A7 to HSL:

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

HEX to CMYK

Convert #DEF1A7 to CMYK:

cmyk(8%, 0%, 31%, 5%)Color Converter →

Color Meaning and Usage

A soft green tone, #DEF1A7 has RGB (222, 241, 167) and HSL (75°, 73%, 80%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF1A7 is #B9A7F1, creating high-contrast pairings. For softer combinations, try analogous colors like #F1DFA7.

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

Contrast with #DEF1A7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DEF1A7?

#DEF1A7 is a soft green color - a green hue that evokes nature and harmony.

What is the RGB value of #DEF1A7?

#DEF1A7 in RGB is (222, 241, 167) - 222 red, 241 green, and 167 blue.

How to use #DEF1A7 in CSS?

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

What colors go well with #DEF1A7?

#B9A7F1 (complementary), #F1DFA7 (analogous), and #C6E765 (lighter shade) work well with #DEF1A7.