#504D21
Dark Yellow
HEX
RGB
HSL
About #504D21 Dark Yellow
#504D21 is a dark yellow color. In the RGB color model, it is composed of 80 red, 77 green, and 33 blue. In the HSL color space, it has a hue of 56°, saturation of 42%, and lightness of 22%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #504D21 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
56°
Hue
42%
Saturation
22%
Lightness
Dark Yellow
Color Harmonies
Colors that work well with #504D21 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #504D21 against white and black backgrounds.
Aa#504D21 on White
Contrast Ratio8.66:1
AA ✓AA Large ✓AAA ✓
Aa#504D21 on Black
Contrast Ratio2.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #504D21 across different color formats.
| Format | Value |
|---|---|
| HEX | #504D21 |
| RGB | rgb(80, 77, 33) |
| HSL | hsl(56, 42%, 22%) |
| RGB Decimal | 80, 77, 33 |
| RGB Percent | 31.4%, 30.2%, 12.9% |
| CMYK (approx.) | 0%, 4%, 59%, 69% |
Related Palettes
12 palettes using #504D21 or similar colors