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