#D7D242
Yellow
HEX
RGB
HSL
About #D7D242 Yellow
#D7D242 is a yellow color. In the RGB color model, it is composed of 215 red, 210 green, and 66 blue. In the HSL color space, it has a hue of 58°, saturation of 65%, and lightness of 55%.
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 #D7D242 in your CSS, SCSS, or Tailwind projects.
Color Properties
58°
Hue
65%
Saturation
55%
Lightness
Yellow
Color Harmonies
Colors that work well with #D7D242 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D7D242 against white and black backgrounds.
Aa#D7D242 on White
Contrast Ratio1.59:1
AA ✗AA Large ✗AAA ✗
Aa#D7D242 on Black
Contrast Ratio13.19:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D7D242 across different color formats.
| Format | Value |
|---|---|
| HEX | #D7D242 |
| RGB | rgb(215, 210, 66) |
| HSL | hsl(58, 65%, 55%) |
| RGB Decimal | 215, 210, 66 |
| RGB Percent | 84.3%, 82.4%, 25.9% |
| CMYK (approx.) | 0%, 2%, 69%, 16% |
Related Palettes
12 palettes using #D7D242 or similar colors