#797231 color

#797231 rgb(121, 114, 49)
Shades of yellow

The hex color #797231 is a dark, desaturated yellow.

In the RGB color model it is made of 47.5% red, 44.7% green and 19.2% blue (121, 114, 49).

Its hue angle is 54°, with 42% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 60% yellow and 53% black.

The closest named color is Crocodile Style (#767437), a difference of 2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 4.92:1).

#797231 color codes

HEX#797231
RGBrgb(121, 114, 49)
RGB percentrgb(47.5%, 44.7%, 19.2%)
HSLhsl(54, 42%, 33%)
HSV / HSBhsv(54, 60%, 47%)
CMYKcmyk(0%, 6%, 60%, 53%)
CIE LABlab(47.39, -6.35, 36.3)
CIE LCHlch(47.39, 36.85, 99.92)
CIE XYZxyz(14.457, 16.322, 5.294)
Decimal7959089
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797231, 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 #797231RatioAAAAAAA large
Sample text4.26:1FailFailPass
Sample text4.92:1PassFailPass
#797231 as text onRatioAAAAAAA large
Sample text4.92:1PassFailPass
Sample text4.26:1FailFailPass

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 #797231 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #797231; }
.text { color: #797231; }
.border { border: 2px solid #797231; }
.transparent { background-color: rgb(121 114 49 / 50%); }
.gradient { background: linear-gradient(to right, #797231, #5c7931); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #797231?
#797231 is a dark, desaturated yellow, closest to the named color Crocodile Style. It belongs to the yellow family of colors.
What is the RGB value of #797231?
The RGB value is 121, 114, 49: 121 red, 114 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #797231?
The complementary color is #313879, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797231?
White text. Black text has a contrast ratio of 4.26:1 and white text 4.92:1. WCAG asks for at least 4.5:1 for normal text.