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