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