#D2D978
Yellow
HEX
RGB
HSL
About #D2D978 Yellow
#D2D978 is a yellow color. In the RGB color model, it is composed of 210 red, 217 green, and 120 blue. In the HSL color space, it has a hue of 64°, saturation of 56%, and lightness of 66%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #D2D978 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
64°
Hue
56%
Saturation
66%
Lightness
Yellow
Color Harmonies
Colors that work well with #D2D978 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D2D978 against white and black backgrounds.
Aa#D2D978 on White
Contrast Ratio1.51:1
AA ✗AA Large ✗AAA ✗
Aa#D2D978 on Black
Contrast Ratio13.94:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D2D978 across different color formats.
| Format | Value |
|---|---|
| HEX | #D2D978 |
| RGB | rgb(210, 217, 120) |
| HSL | hsl(64, 56%, 66%) |
| RGB Decimal | 210, 217, 120 |
| RGB Percent | 82.4%, 85.1%, 47.1% |
| CMYK (approx.) | 3%, 0%, 45%, 15% |
Related Palettes
12 palettes using #D2D978 or similar colors