#DFF2A2 Color Information

Hex color code: #DFF2A2

#DFF2A2 is a delicate yellow color. In RGB it is (223, 242, 162), and in HSL it is (74°, 75%, 79%). It is popular in mobile app design.

Try:
Color NameKhaki
HEX
#DFF2A2
RGB
223, 242, 162
HSL
74°, 75%, 79%
CMYK
8%, 0%, 33%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DFF2A2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 242, 162

Red: 223 / Green: 242 / Blue: 162

HSL

74°, 75%, 79%

Hue: 74° / Saturation: 75% / Lightness: 79%

CMYK

8%, 0%, 33%, 5%

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

What color is #DFF2A2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DFF2A2 to RGB:

rgb(223, 242, 162)HEX to RGB Converter →

HEX to HSL

Convert #DFF2A2 to HSL:

hsl(74, 75%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #DFF2A2 to CMYK:

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

Color Meaning and Usage

A light yellow tone, #DFF2A2 has RGB (223, 242, 162) and HSL (74°, 75%, 79%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DFF2A2 is #B4A1F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2DCA1.

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

Contrast with #DFF2A2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DFF2A2?

#DFF2A2 is a light yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #DFF2A2?

#DFF2A2 in RGB is (223, 242, 162) - 223 red, 242 green, and 162 blue.

How to use #DFF2A2 in CSS?

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

What colors go well with #DFF2A2?

#B4A1F2 (complementary), #F2DCA1 (analogous), and #C8E85E (lighter shade) work well with #DFF2A2.