#787B56 color

#787B56 rgb(120, 123, 86)
Shades of yellow

The hex color #787B56 is a grayish yellow.

In the RGB color model it is made of 47.1% red, 48.2% green and 33.7% blue (120, 123, 86).

Its hue angle is 65°, with 18% saturation and 41% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 30% yellow and 52% black.

The closest named color is Bonsai (#787B54), a difference of 0.6 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 4.77:1).

#787B56 color codes

HEX#787B56
RGBrgb(120, 123, 86)
RGB percentrgb(47.1%, 48.2%, 33.7%)
HSLhsl(65, 18%, 41%)
HSV / HSBhsv(65, 30%, 48%)
CMYKcmyk(2%, 0%, 30%, 52%)
CIE LABlab(50.49, -7.62, 19.91)
CIE LCHlch(50.49, 21.32, 110.94)
CIE XYZxyz(16.508, 18.831, 11.567)
Decimal7895894
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #787B56, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #787B56RatioAAAAAAA large
Sample text4.77:1PassFailPass
Sample text4.41:1FailFailPass
#787B56 as text onRatioAAAAAAA large
Sample text4.41:1FailFailPass
Sample text4.77:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #787B56 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #787b56; }
.text { color: #787b56; }
.border { border: 2px solid #787b56; }
.transparent { background-color: rgb(120 123 86 / 50%); }
.gradient { background: linear-gradient(to right, #787b56, #657b56); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

What color is #787B56?
#787B56 is a grayish yellow, closest to the named color Bonsai. It belongs to the yellow family of colors.
What is the RGB value of #787B56?
The RGB value is 120, 123, 86: 120 red, 123 green and 86 blue on a 0 to 255 scale.
What is the complementary color of #787B56?
The complementary color is #59567B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #787B56?
Black text. Black text has a contrast ratio of 4.77:1 and white text 4.41:1. WCAG asks for at least 4.5:1 for normal text.