#D2EB7F Color Information

Hex color code: #D2EB7F

A striking yellow shade, #D2EB7F appears as (210, 235, 127) in RGB and (74°, 73%, 71%) in HSL. It is popular in mobile app design.

Try:
Color NameKhaki
HEX
#D2EB7F
RGB
210, 235, 127
HSL
74°, 73%, 71%
CMYK
11%, 0%, 46%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2EB7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 235, 127

Red: 210 / Green: 235 / Blue: 127

HSL

74°, 73%, 71%

Hue: 74° / Saturation: 73% / Lightness: 71%

CMYK

11%, 0%, 46%, 8%

Cyan: 11% / Magenta: 0% / Yellow: 46% / Key: 8%

What color is #D2EB7F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2EB7F to RGB:

rgb(210, 235, 127)HEX to RGB Converter →

HEX to HSL

Convert #D2EB7F to HSL:

hsl(74, 73%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D2EB7F to CMYK:

cmyk(11%, 0%, 46%, 8%)Color Converter →

Color Meaning and Usage

#D2EB7F is a vivid yellow color with RGB values of 210, 235, 127 and HSL of 74°, 73%, 71%. This green hue evokes nature and harmony, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2EB7F is #987FEB, creating high-contrast pairings. For softer combinations, try analogous colors like #EBCE7F.

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

Contrast with #D2EB7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2EB7F?

#D2EB7F is a vivid yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D2EB7F?

#D2EB7F in RGB is (210, 235, 127) - 210 red, 235 green, and 127 blue.

How to use #D2EB7F in CSS?

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

What colors go well with #D2EB7F?

#987FEB (complementary), #EBCE7F (analogous), and #BAE13D (lighter shade) work well with #D2EB7F.