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