#DEF08F Color Information

Hex color code: #DEF08F

A bold yellow shade, #DEF08F appears as (222, 240, 143) in RGB and (71°, 76%, 75%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameKhaki
HEX
#DEF08F
RGB
222, 240, 143
HSL
71°, 76%, 75%
CMYK
7%, 0%, 40%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF08F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 240, 143

Red: 222 / Green: 240 / Blue: 143

HSL

71°, 76%, 75%

Hue: 71° / Saturation: 76% / Lightness: 75%

CMYK

7%, 0%, 40%, 6%

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

What color is #DEF08F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF08F to RGB:

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

HEX to HSL

Convert #DEF08F to HSL:

hsl(71, 76%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF08F to CMYK:

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

Color Meaning and Usage

A vivid yellow tone, #DEF08F has RGB (222, 240, 143) and HSL (71°, 76%, 75%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF08F is #A18FF0, creating high-contrast pairings. For softer combinations, try analogous colors like #F0D18F.

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

Contrast with #DEF08F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DEF08F?

#DEF08F is a vivid yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #DEF08F?

#DEF08F in RGB is (222, 240, 143) - 222 red, 240 green, and 143 blue.

How to use #DEF08F in CSS?

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

What colors go well with #DEF08F?

#A18FF0 (complementary), #F0D18F (analogous), and #CAE74B (lighter shade) work well with #DEF08F.