#7B7C51 color

#7B7C51 rgb(123, 124, 81)
Shades of yellow

The hex color #7B7C51 is a grayish yellow.

In the RGB color model it is made of 48.2% red, 48.6% green and 31.8% blue (123, 124, 81).

Its hue angle is 61°, with 21% saturation and 40% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 35% yellow and 51% black.

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

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

#7B7C51 color codes

HEX#7B7C51
RGBrgb(123, 124, 81)
RGB percentrgb(48.2%, 48.6%, 31.8%)
HSLhsl(61, 21%, 40%)
HSV / HSBhsv(61, 35%, 49%)
CMYKcmyk(1%, 0%, 35%, 51%)
CIE LABlab(50.94, -7.61, 23.4)
CIE LCHlch(50.94, 24.61, 108.01)
CIE XYZxyz(16.861, 19.221, 10.605)
Decimal8092753
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7b7c51; }
.text { color: #7b7c51; }
.border { border: 2px solid #7b7c51; }
.transparent { background-color: rgb(123 124 81 / 50%); }
.gradient { background: linear-gradient(to right, #7b7c51, #657c51); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

What color is #7B7C51?
#7B7C51 is a grayish yellow, closest to the named color Bonsai. It belongs to the yellow family of colors.
What is the RGB value of #7B7C51?
The RGB value is 123, 124, 81: 123 red, 124 green and 81 blue on a 0 to 255 scale.
What is the complementary color of #7B7C51?
The complementary color is #52517C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7B7C51?
Black text. Black text has a contrast ratio of 4.84:1 and white text 4.34:1. WCAG asks for at least 4.5:1 for normal text.