#786F1F color
The hex color #786F1F is a dark, moderate yellow.
In the RGB color model it is made of 47.1% red, 43.5% green and 12.2% blue (120, 111, 31).
Its hue angle is 54°, with 59% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 74% yellow and 53% black.
The closest named color is Crocodile Style (#767437), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.13:1).
#786F1F color codes
| HEX | #786F1F | |
|---|---|---|
| RGB | rgb(120, 111, 31) | |
| RGB percent | rgb(47.1%, 43.5%, 12.2%) | |
| HSL | hsl(54, 59%, 30%) | |
| HSV / HSB | hsv(54, 74%, 47%) | |
| CMYK | cmyk(0%, 7%, 74%, 53%) | |
| CIE LAB | lab(46.26, -6.34, 43.39) | |
| CIE LCH | lch(46.26, 43.85, 98.32) | |
| CIE XYZ | xyz(13.678, 15.461, 3.56) | |
| Decimal | 7892767 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786F1F, 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 #786F1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.09:1 | Fail | Fail | Pass |
| Sample text | 5.13:1 | Pass | Fail | Pass |
| #786F1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.13:1 | Pass | Fail | Pass |
| Sample text | 4.09: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 #786F1F looks to people with the most common types of color vision deficiency.
#7a6b12Protanopia
no red cones#7c6f24Deuteranopia
no green cones#81675fTritanopia
no blue cones#6e6e6eAchromatopsia
no color vision
CSS examples
.background { background-color: #786f1f; }
.text { color: #786f1f; }
.border { border: 2px solid #786f1f; }
.transparent { background-color: rgb(120 111 31 / 50%); }
.gradient { background: linear-gradient(to right, #786f1f, #55781f); }
Similar colors
#767437Crocodile Style#786e38Garden Weed#86793dBay Leaf#727736Jungle Look#897a3eCapers#828039Green Commando#736330Himalaya#8c7f3cPeas Please
Closest common color name: Olive Green.
Questions
- What color is #786F1F?
- #786F1F is a dark, moderate yellow, closest to the named color Crocodile Style. It belongs to the yellow family of colors.
- What is the RGB value of #786F1F?
- The RGB value is 120, 111, 31: 120 red, 111 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #786F1F?
- The complementary color is #1F2878, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786F1F?
- White text. Black text has a contrast ratio of 4.09:1 and white text 5.13:1. WCAG asks for at least 4.5:1 for normal text.