#D2F28C Color Information

Hex color code: #D2F28C

The hex color #D2F28C is a striking green with RGB values of (210, 242, 140) and HSL of (79°, 80%, 75%). It is often used for branding and logos.

Try:
Color NameKhaki
HEX
#D2F28C
RGB
210, 242, 140
HSL
79°, 80%, 75%
CMYK
13%, 0%, 42%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2F28C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 242, 140

Red: 210 / Green: 242 / Blue: 140

HSL

79°, 80%, 75%

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

CMYK

13%, 0%, 42%, 5%

Cyan: 13% / Magenta: 0% / Yellow: 42% / Key: 5%

What color is #D2F28C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2F28C to RGB:

rgb(210, 242, 140)HEX to RGB Converter →

HEX to HSL

Convert #D2F28C to HSL:

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

HEX to CMYK

Convert #D2F28C to CMYK:

cmyk(13%, 0%, 42%, 5%)Color Converter →

Color Meaning and Usage

A bold green tone, #D2F28C has RGB (210, 242, 140) and HSL (79°, 80%, 75%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2F28C is #AD8CF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2E08C.

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

Contrast with #D2F28C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2F28C?

#D2F28C is a bold green color - a green hue that evokes nature and harmony.

What is the RGB value of #D2F28C?

#D2F28C in RGB is (210, 242, 140) - 210 red, 242 green, and 140 blue.

How to use #D2F28C in CSS?

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

What colors go well with #D2F28C?

#AD8CF2 (complementary), #F2E08C (analogous), and #B7EB47 (lighter shade) work well with #D2F28C.