#DEF040 Color Information

Hex color code: #DEF040

A dynamic yellow shade, #DEF040 appears as (222, 240, 64) in RGB and (66°, 85%, 60%) in HSL. It is typically applied in digital products.

Try:
Color NameGreen Yellow
HEX
#DEF040
RGB
222, 240, 64
HSL
66°, 85%, 60%
CMYK
7%, 0%, 73%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF040; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 240, 64

Red: 222 / Green: 240 / Blue: 64

HSL

66°, 85%, 60%

Hue: 66° / Saturation: 85% / Lightness: 60%

CMYK

7%, 0%, 73%, 6%

Cyan: 7% / Magenta: 0% / Yellow: 73% / Key: 6%

What color is #DEF040?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF040 to RGB:

rgb(222, 240, 64)HEX to RGB Converter →

HEX to HSL

Convert #DEF040 to HSL:

hsl(66, 85%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF040 to CMYK:

cmyk(7%, 0%, 73%, 6%)Color Converter →

Color Meaning and Usage

#DEF040 is a dynamic yellow color with RGB values of 222, 240, 64 and HSL of 66°, 85%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF040 is #5442F0, creating high-contrast pairings. For softer combinations, try analogous colors like #F0AA42.

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

Contrast with #DEF040

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DEF040?

#DEF040 is a dynamic yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #DEF040?

#DEF040 in RGB is (222, 240, 64) - 222 red, 240 green, and 64 blue.

How to use #DEF040 in CSS?

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

What colors go well with #DEF040?

#5442F0 (complementary), #F0AA42 (analogous), and #C1D411 (lighter shade) work well with #DEF040.