#797B5D color

#797B5D rgb(121, 123, 93)
Shades of yellow

The hex color #797B5D is a grayish yellow.

In the RGB color model it is made of 47.5% red, 48.2% green and 36.5% blue (121, 123, 93).

Its hue angle is 64°, with 14% saturation and 42% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 24% yellow and 52% black.

The closest named color is Bonsai (#787B54), a difference of 2.8 ΔE, a small difference.

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

#797B5D color codes

HEX#797B5D
RGBrgb(121, 123, 93)
RGB percentrgb(47.5%, 48.2%, 36.5%)
HSLhsl(64, 14%, 42%)
HSV / HSBhsv(64, 24%, 48%)
CMYKcmyk(2%, 0%, 24%, 52%)
CIE LABlab(50.71, -6.15, 16.2)
CIE LCHlch(50.71, 17.33, 110.78)
CIE XYZxyz(16.944, 19.021, 13.133)
Decimal7961437
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #797b5d; }
.text { color: #797b5d; }
.border { border: 2px solid #797b5d; }
.transparent { background-color: rgb(121 123 93 / 50%); }
.gradient { background: linear-gradient(to right, #797b5d, #6a7b5d); }
Background
Text color
Border

Similar colors

Questions

What color is #797B5D?
#797B5D is a grayish yellow, closest to the named color Bonsai. It belongs to the yellow family of colors.
What is the RGB value of #797B5D?
The RGB value is 121, 123, 93: 121 red, 123 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #797B5D?
The complementary color is #5F5D7B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797B5D?
Black text. Black text has a contrast ratio of 4.8:1 and white text 4.37:1. WCAG asks for at least 4.5:1 for normal text.