#787E1B
Yellow
HEX
RGB
HSL
About #787E1B Yellow
#787E1B is a yellow color. In the RGB color model, it is composed of 120 red, 126 green, and 27 blue. In the HSL color space, it has a hue of 64°, saturation of 65%, 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 & Gradients
Use #787E1B in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
64°
Hue
65%
Saturation
30%
Lightness
Yellow
Color Harmonies
Colors that work well with #787E1B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #787E1B against white and black backgrounds.
Aa#787E1B on White
Contrast Ratio4.38:1
AA ✗AA Large ✓AAA ✗
Aa#787E1B on Black
Contrast Ratio4.8:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #787E1B across different color formats.
| Format | Value |
|---|---|
| HEX | #787E1B |
| RGB | rgb(120, 126, 27) |
| HSL | hsl(64, 65%, 30%) |
| RGB Decimal | 120, 126, 27 |
| RGB Percent | 47.1%, 49.4%, 10.6% |
| CMYK (approx.) | 5%, 0%, 79%, 51% |
Related Palettes
12 palettes using #787E1B or similar colors