#DCEC7F Color Information

Hex color code: #DCEC7F

The hex color #DCEC7F is a bold yellow with RGB values of (220, 236, 127) and HSL of (69°, 74%, 71%). It is frequently seen in web interfaces.

Try:
Color NameKhaki
HEX
#DCEC7F
RGB
220, 236, 127
HSL
69°, 74%, 71%
CMYK
7%, 0%, 46%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DCEC7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 236, 127

Red: 220 / Green: 236 / Blue: 127

HSL

69°, 74%, 71%

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

CMYK

7%, 0%, 46%, 7%

Cyan: 7% / Magenta: 0% / Yellow: 46% / Key: 7%

What color is #DCEC7F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DCEC7F to RGB:

rgb(220, 236, 127)HEX to RGB Converter →

HEX to HSL

Convert #DCEC7F to HSL:

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

HEX to CMYK

Convert #DCEC7F to CMYK:

cmyk(7%, 0%, 46%, 7%)Color Converter →

Color Meaning and Usage

#DCEC7F is a eye-catching yellow color with RGB values of 220, 236, 127 and HSL of 69°, 74%, 71%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DCEC7F is #8F7EEC, creating high-contrast pairings. For softer combinations, try analogous colors like #ECC57E.

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

Contrast with #DCEC7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DCEC7F?

#DCEC7F is a eye-catching yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #DCEC7F?

#DCEC7F in RGB is (220, 236, 127) - 220 red, 236 green, and 127 blue.

How to use #DCEC7F in CSS?

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

What colors go well with #DCEC7F?

#8F7EEC (complementary), #ECC57E (analogous), and #C9E23C (lighter shade) work well with #DCEC7F.