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