#D9D987
Yellow
HEX
RGB
HSL
About #D9D987 Yellow
#D9D987 is a yellow color. In the RGB color model, it is composed of 217 red, 217 green, and 135 blue. In the HSL color space, it has a hue of 60°, saturation of 52%, and lightness of 69%.
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
Use #D9D987 in your CSS, SCSS, or Tailwind projects.
Color Properties
60°
Hue
52%
Saturation
69%
Lightness
Yellow
Color Harmonies
Colors that work well with #D9D987 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D9D987 against white and black backgrounds.
Aa#D9D987 on White
Contrast Ratio1.48:1
AA ✗AA Large ✗AAA ✗
Aa#D9D987 on Black
Contrast Ratio14.23:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D9D987 across different color formats.
| Format | Value |
|---|---|
| HEX | #D9D987 |
| RGB | rgb(217, 217, 135) |
| HSL | hsl(60, 52%, 69%) |
| RGB Decimal | 217, 217, 135 |
| RGB Percent | 85.1%, 85.1%, 52.9% |
| CMYK (approx.) | 0%, 0%, 38%, 15% |
Related Palettes
12 palettes using #D9D987 or similar colors