#D5F172 Color Information

Hex color code: #D5F172

The hex color #D5F172 is a striking yellow with RGB values of (213, 241, 114) and HSL of (73°, 82%, 70%). It is often used for branding and logos.

Try:
Color NameKhaki
HEX
#D5F172
RGB
213, 241, 114
HSL
73°, 82%, 70%
CMYK
12%, 0%, 53%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D5F172; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

213, 241, 114

Red: 213 / Green: 241 / Blue: 114

HSL

73°, 82%, 70%

Hue: 73° / Saturation: 82% / Lightness: 70%

CMYK

12%, 0%, 53%, 5%

Cyan: 12% / Magenta: 0% / Yellow: 53% / Key: 5%

What color is #D5F172?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D5F172 to RGB:

rgb(213, 241, 114)HEX to RGB Converter →

HEX to HSL

Convert #D5F172 to HSL:

hsl(73, 82%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D5F172 to CMYK:

cmyk(12%, 0%, 53%, 5%)Color Converter →

Color Meaning and Usage

#D5F172 is a dynamic yellow color with RGB values of 213, 241, 114 and HSL of 73°, 82%, 70%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D5F172 is #8F74F1, creating high-contrast pairings. For softer combinations, try analogous colors like #F1CE74.

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

Contrast with #D5F172

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D5F172?

#D5F172 is a dynamic yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D5F172?

#D5F172 in RGB is (213, 241, 114) - 213 red, 241 green, and 114 blue.

How to use #D5F172 in CSS?

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

What colors go well with #D5F172?

#8F74F1 (complementary), #F1CE74 (analogous), and #C2EA2E (lighter shade) work well with #D5F172.