#D4F2A6 Color Information

Hex color code: #D4F2A6

The hex color #D4F2A6 is a light green with RGB values of (212, 242, 166) and HSL of (84°, 75%, 80%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#D4F2A6
RGB
212, 242, 166
HSL
84°, 75%, 80%
CMYK
12%, 0%, 31%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4F2A6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 242, 166

Red: 212 / Green: 242 / Blue: 166

HSL

84°, 75%, 80%

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

CMYK

12%, 0%, 31%, 5%

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

What color is #D4F2A6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4F2A6 to RGB:

rgb(212, 242, 166)HEX to RGB Converter →

HEX to HSL

Convert #D4F2A6 to HSL:

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

HEX to CMYK

Convert #D4F2A6 to CMYK:

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

Color Meaning and Usage

A ethereal green tone, #D4F2A6 has RGB (212, 242, 166) and HSL (84°, 75%, 80%). Known for evoking nature and harmony, this green hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4F2A6 is #C4A6F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2EBA6.

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

Contrast with #D4F2A6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4F2A6?

#D4F2A6 is a ethereal green color - a green hue that evokes nature and harmony.

What is the RGB value of #D4F2A6?

#D4F2A6 in RGB is (212, 242, 166) - 212 red, 242 green, and 166 blue.

How to use #D4F2A6 in CSS?

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

What colors go well with #D4F2A6?

#C4A6F2 (complementary), #F2EBA6 (analogous), and #B3E963 (lighter shade) work well with #D4F2A6.