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