#797D31
Yellow
HEX
RGB
HSL
About #797D31 Yellow
#797D31 is a yellow color. In the RGB color model, it is composed of 121 red, 125 green, and 49 blue. In the HSL color space, it has a hue of 63°, saturation of 44%, and lightness of 34%.
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
Use #797D31 in your CSS, SCSS, or Tailwind projects.
Color Properties
63°
Hue
44%
Saturation
34%
Lightness
Yellow
Color Harmonies
Colors that work well with #797D31 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #797D31 against white and black backgrounds.
Aa#797D31 on White
Contrast Ratio4.38:1
AA ✗AA Large ✓AAA ✗
Aa#797D31 on Black
Contrast Ratio4.79:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #797D31 across different color formats.
| Format | Value |
|---|---|
| HEX | #797D31 |
| RGB | rgb(121, 125, 49) |
| HSL | hsl(63, 44%, 34%) |
| RGB Decimal | 121, 125, 49 |
| RGB Percent | 47.5%, 49.0%, 19.2% |
| CMYK (approx.) | 3%, 0%, 61%, 51% |
Related Palettes
12 palettes using #797D31 or similar colors