#796B12 color

#796B12 rgb(121, 107, 18)
Shades of yellow

The hex color #796B12 is a dark, moderate yellow.

In the RGB color model it is made of 47.5% red, 42% green and 7.1% blue (121, 107, 18).

Its hue angle is 52°, with 74% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 85% yellow and 53% black.

The closest named color is Garden Weed (#786E38), a difference of 5.9 ΔE.

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

#796B12 color codes

HEX#796B12
RGBrgb(121, 107, 18)
RGB percentrgb(47.5%, 42%, 7.1%)
HSLhsl(52, 74%, 27%)
HSV / HSBhsv(52, 85%, 47%)
CMYKcmyk(0%, 12%, 85%, 53%)
CIE LABlab(45.12, -4.16, 47.07)
CIE LCHlch(45.12, 47.26, 95.05)
CIE XYZxyz(13.253, 14.625, 2.697)
Decimal7957266
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #796B12, 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 #796B12RatioAAAAAAA large
Sample text3.92:1FailFailPass
Sample text5.35:1PassFailPass
#796B12 as text onRatioAAAAAAA large
Sample text5.35:1PassFailPass
Sample text3.92: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 #796B12 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #796b12; }
.text { color: #796b12; }
.border { border: 2px solid #796b12; }
.transparent { background-color: rgb(121 107 18 / 50%); }
.gradient { background: linear-gradient(to right, #796b12, #537912); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #796B12?
#796B12 is a dark, moderate yellow, closest to the named color Garden Weed. It belongs to the yellow family of colors.
What is the RGB value of #796B12?
The RGB value is 121, 107, 18: 121 red, 107 green and 18 blue on a 0 to 255 scale.
What is the complementary color of #796B12?
The complementary color is #122079, found by rotating the hue 180° on the color wheel.
Is black or white text better on #796B12?
White text. Black text has a contrast ratio of 3.92:1 and white text 5.35:1. WCAG asks for at least 4.5:1 for normal text.