#787D52 color

#787D52 rgb(120, 125, 82)
Shades of yellow

The hex color #787D52 is a grayish yellow.

In the RGB color model it is made of 47.1% red, 49% green and 32.2% blue (120, 125, 82).

Its hue angle is 67°, with 21% saturation and 41% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 34% yellow and 51% black.

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

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

#787D52 color codes

HEX#787D52
RGBrgb(120, 125, 82)
RGB percentrgb(47.1%, 49%, 32.2%)
HSLhsl(67, 21%, 41%)
HSV / HSBhsv(67, 34%, 49%)
CMYKcmyk(4%, 0%, 34%, 51%)
CIE LABlab(51, -9.3, 22.87)
CIE LCHlch(51, 24.68, 112.13)
CIE XYZxyz(16.602, 19.27, 10.826)
Decimal7896402
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #787D52, 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 #787D52RatioAAAAAAA large
Sample text4.85:1PassFailPass
Sample text4.33:1FailFailPass
#787D52 as text onRatioAAAAAAA large
Sample text4.33:1FailFailPass
Sample text4.85: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 #787D52 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #787d52; }
.text { color: #787d52; }
.border { border: 2px solid #787d52; }
.transparent { background-color: rgb(120 125 82 / 50%); }
.gradient { background: linear-gradient(to right, #787d52, #637d52); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

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