#DCF218 Color Information

Hex color code: #DCF218

The hex color #DCF218 is a dynamic yellow with RGB values of (220, 242, 24) and HSL of (66°, 89%, 52%). It is typically applied in digital products.

Try:
Color NameYellow
HEX
#DCF218
RGB
220, 242, 24
HSL
66°, 89%, 52%
CMYK
9%, 0%, 90%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DCF218; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 242, 24

Red: 220 / Green: 242 / Blue: 24

HSL

66°, 89%, 52%

Hue: 66° / Saturation: 89% / Lightness: 52%

CMYK

9%, 0%, 90%, 5%

Cyan: 9% / Magenta: 0% / Yellow: 90% / Key: 5%

What color is #DCF218?

#DCF218 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DCF218 to RGB:

rgb(220, 242, 24)HEX to RGB Converter →

HEX to HSL

Convert #DCF218 to HSL:

hsl(66, 89%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #DCF218 to CMYK:

cmyk(9%, 0%, 90%, 5%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #DCF218 has RGB (220, 242, 24) and HSL (66°, 89%, 52%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DCF218 is #2D18F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F29A18.

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

Contrast with #DCF218

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DCF218?

#DCF218 is a bold yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #DCF218?

#DCF218 in RGB is (220, 242, 24) - 220 red, 242 green, and 24 blue.

How to use #DCF218 in CSS?

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

What colors go well with #DCF218?

#2D18F2 (complementary), #F29A18 (analogous), and #A2B20A (lighter shade) work well with #DCF218.