#D2E74B Color Information

Hex color code: #D2E74B

The hex color #D2E74B is a vivid yellow with RGB values of (210, 231, 75) and HSL of (68°, 76%, 60%). It is commonly used in modern UI design.

Try:
Color NameGreen Yellow
HEX
#D2E74B
RGB
210, 231, 75
HSL
68°, 76%, 60%
CMYK
9%, 0%, 68%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2E74B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 231, 75

Red: 210 / Green: 231 / Blue: 75

HSL

68°, 76%, 60%

Hue: 68° / Saturation: 76% / Lightness: 60%

CMYK

9%, 0%, 68%, 9%

Cyan: 9% / Magenta: 0% / Yellow: 68% / Key: 9%

What color is #D2E74B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2E74B to RGB:

rgb(210, 231, 75)HEX to RGB Converter →

HEX to HSL

Convert #D2E74B to HSL:

hsl(68, 76%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #D2E74B to CMYK:

cmyk(9%, 0%, 68%, 9%)Color Converter →

Color Meaning and Usage

A dynamic yellow tone, #D2E74B has RGB (210, 231, 75) and HSL (68°, 76%, 60%). 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 #D2E74B is #604BE7, creating high-contrast pairings. For softer combinations, try analogous colors like #E7AE4B.

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

Contrast with #D2E74B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2E74B?

#D2E74B is a dynamic yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D2E74B?

#D2E74B in RGB is (210, 231, 75) - 210 red, 231 green, and 75 blue.

How to use #D2E74B in CSS?

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

What colors go well with #D2E74B?

#604BE7 (complementary), #E7AE4B (analogous), and #B3CA1C (lighter shade) work well with #D2E74B.