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