#786C27 color
The hex color #786C27 is a dark, moderate yellow.
In the RGB color model it is made of 47.1% red, 42.4% green and 15.3% blue (120, 108, 39).
Its hue angle is 51°, with 51% saturation and 31% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 68% yellow and 53% black.
The closest named color is Garden Weed (#786E38), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.29:1).
#786C27 color codes
| HEX | #786C27 | |
|---|---|---|
| RGB | rgb(120, 108, 39) | |
| RGB percent | rgb(47.1%, 42.4%, 15.3%) | |
| HSL | hsl(51, 51%, 31%) | |
| HSV / HSB | hsv(51, 68%, 47%) | |
| CMYK | cmyk(0%, 10%, 68%, 53%) | |
| CIE LAB | lab(45.45, -4.15, 39.03) | |
| CIE LCH | lch(45.45, 39.25, 96.07) | |
| CIE XYZ | xyz(13.475, 14.865, 4.079) | |
| Decimal | 7892007 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786C27, 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 #786C27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.97:1 | Fail | Fail | Pass |
| Sample text | 5.29:1 | Pass | Fail | Pass |
| #786C27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.29:1 | Pass | Fail | Pass |
| Sample text | 3.97:1 | Fail | Fail | Pass |
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 #786C27 looks to people with the most common types of color vision deficiency.
#76691fProtanopia
no red cones#7a6d2bDeuteranopia
no green cones#81645eTritanopia
no blue cones#6c6c6cAchromatopsia
no color vision
CSS examples
.background { background-color: #786c27; }
.text { color: #786c27; }
.border { border: 2px solid #786c27; }
.transparent { background-color: rgb(120 108 39 / 50%); }
.gradient { background: linear-gradient(to right, #786c27, #5c7827); }
Similar colors
#786e38Garden Weed#767437Crocodile Style#736330Himalaya#86793dBay Leaf#897a3eCapers#886b2eAged Antics#727736Jungle Look#69673aJungle Civilization
Closest common color name: Olive Green.
Questions
- What color is #786C27?
- #786C27 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 #786C27?
- The RGB value is 120, 108, 39: 120 red, 108 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #786C27?
- The complementary color is #273378, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786C27?
- White text. Black text has a contrast ratio of 3.97:1 and white text 5.29:1. WCAG asks for at least 4.5:1 for normal text.