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