#DEF292 Color Information

Hex color code: #DEF292

#DEF292 is a soft yellow color. In RGB it is (222, 242, 146), and in HSL it is (72°, 79%, 76%). It is often used for branding and logos.

Try:
Color NameKhaki
HEX
#DEF292
RGB
222, 242, 146
HSL
72°, 79%, 76%
CMYK
8%, 0%, 40%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DEF292; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

222, 242, 146

Red: 222 / Green: 242 / Blue: 146

HSL

72°, 79%, 76%

Hue: 72° / Saturation: 79% / Lightness: 76%

CMYK

8%, 0%, 40%, 5%

Cyan: 8% / Magenta: 0% / Yellow: 40% / Key: 5%

What color is #DEF292?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DEF292 to RGB:

rgb(222, 242, 146)HEX to RGB Converter →

HEX to HSL

Convert #DEF292 to HSL:

hsl(72, 79%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #DEF292 to CMYK:

cmyk(8%, 0%, 40%, 5%)Color Converter →

Color Meaning and Usage

A light yellow tone, #DEF292 has RGB (222, 242, 146) and HSL (72°, 79%, 76%). Known for evoking nature and harmony, this green hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DEF292 is #A591F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2D591.

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

Contrast with #DEF292

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 #DEF292?

#DEF292 is a light yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #DEF292?

#DEF292 in RGB is (222, 242, 146) - 222 red, 242 green, and 146 blue.

How to use #DEF292 in CSS?

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

What colors go well with #DEF292?

#A591F2 (complementary), #F2D591 (analogous), and #CBEA4D (lighter shade) work well with #DEF292.