#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.
Shades
color: #DEF040; background-color: #DEF040; border-color: #DEF040; box-shadow: 0 0 10px #DEF040; border: 2px solid #DEF040;
bg-[#DEF040] text-[#DEF040] border-[#DEF040] shadow-[0_0_10px_DEF040]
Generate Gradient
background: linear-gradient(90deg, #DEF040, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
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.
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
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.
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.