#DEF462 Color Information

Hex color code: #DEF462

#DEF462 is a vivid yellow color. In RGB it is (222, 244, 98), and in HSL it is (69°, 87%, 67%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#DEF462
RGB
222, 244, 98
HSL
69°, 87%, 67%
CMYK
9%, 0%, 60%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF462; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 244, 98

Red: 222 / Green: 244 / Blue: 98

HSL

69°, 87%, 67%

Hue: 69° / Saturation: 87% / Lightness: 67%

CMYK

9%, 0%, 60%, 4%

Cyan: 9% / Magenta: 0% / Yellow: 60% / Key: 4%

What color is #DEF462?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF462 to RGB:

rgb(222, 244, 98)HEX to RGB Converter →

HEX to HSL

Convert #DEF462 to HSL:

hsl(69, 87%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF462 to CMYK:

cmyk(9%, 0%, 60%, 4%)Color Converter →

Color Meaning and Usage

A vivid yellow tone, #DEF462 has RGB (222, 244, 98) and HSL (69°, 87%, 67%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF462 is #7862F4, creating high-contrast pairings. For softer combinations, try analogous colors like #F4C162.

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

Contrast with #DEF462

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DEF462?

#DEF462 is a vivid yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #DEF462?

#DEF462 in RGB is (222, 244, 98) - 222 red, 244 green, and 98 blue.

How to use #DEF462 in CSS?

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

What colors go well with #DEF462?

#7862F4 (complementary), #F4C162 (analogous), and #CFEF1A (lighter shade) work well with #DEF462.