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