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