#DEF398 Color Information

Hex color code: #DEF398

The hex color #DEF398 is a ethereal yellow with RGB values of (222, 243, 152) and HSL of (74°, 79%, 77%). It is typically applied in digital products.

Try:
Color NameKhaki
HEX
#DEF398
RGB
222, 243, 152
HSL
74°, 79%, 77%
CMYK
9%, 0%, 37%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF398; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 243, 152

Red: 222 / Green: 243 / Blue: 152

HSL

74°, 79%, 77%

Hue: 74° / Saturation: 79% / Lightness: 77%

CMYK

9%, 0%, 37%, 5%

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

What color is #DEF398?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF398 to RGB:

rgb(222, 243, 152)HEX to RGB Converter →

HEX to HSL

Convert #DEF398 to HSL:

hsl(74, 79%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF398 to CMYK:

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

Color Meaning and Usage

A airy yellow tone, #DEF398 has RGB (222, 243, 152) and HSL (74°, 79%, 77%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF398 is #AC96F3, creating high-contrast pairings. For softer combinations, try analogous colors like #F3DA96.

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

Contrast with #DEF398

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DEF398?

#DEF398 is a airy yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #DEF398?

#DEF398 in RGB is (222, 243, 152) - 222 red, 243 green, and 152 blue.

How to use #DEF398 in CSS?

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

What colors go well with #DEF398?

#AC96F3 (complementary), #F3DA96 (analogous), and #C7EB52 (lighter shade) work well with #DEF398.