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