#797F4C color

#797F4C rgb(121, 127, 76)
Shades of yellow

The hex color #797F4C is a desaturated yellow.

In the RGB color model it is made of 47.5% red, 49.8% green and 29.8% blue (121, 127, 76).

Its hue angle is 67°, with 25% saturation and 40% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 40% yellow and 50% black.

The closest named color is Grasshopper (#77824A), a difference of 1.9 ΔE, which is barely visible.

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

#797F4C color codes

HEX#797F4C
RGBrgb(121, 127, 76)
RGB percentrgb(47.5%, 49.8%, 29.8%)
HSLhsl(67, 25%, 40%)
HSV / HSBhsv(67, 40%, 50%)
CMYKcmyk(5%, 0%, 40%, 50%)
CIE LABlab(51.57, -10.77, 26.97)
CIE LCHlch(51.57, 29.04, 111.76)
CIE XYZxyz(16.779, 19.766, 9.767)
Decimal7962444
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #797f4c; }
.text { color: #797f4c; }
.border { border: 2px solid #797f4c; }
.transparent { background-color: rgb(121 127 76 / 50%); }
.gradient { background: linear-gradient(to right, #797f4c, #607f4c); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

What color is #797F4C?
#797F4C is a desaturated yellow, closest to the named color Grasshopper. It belongs to the yellow family of colors.
What is the RGB value of #797F4C?
The RGB value is 121, 127, 76: 121 red, 127 green and 76 blue on a 0 to 255 scale.
What is the complementary color of #797F4C?
The complementary color is #524C7F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797F4C?
Black text. Black text has a contrast ratio of 4.95:1 and white text 4.24:1. WCAG asks for at least 4.5:1 for normal text.