#8B8D2E color
The hex color #8B8D2E is a dark, moderate yellow.
In the RGB color model it is made of 54.5% red, 55.3% green and 18% blue (139, 141, 46).
Its hue angle is 61°, with 51% saturation and 37% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 67% yellow and 45% black.
The closest named color is Witch Brew (#888738), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.95:1).
#8B8D2E color codes
| HEX | #8B8D2E | |
|---|---|---|
| RGB | rgb(139, 141, 46) | |
| RGB percent | rgb(54.5%, 55.3%, 18%) | |
| HSL | hsl(61, 51%, 37%) | |
| HSV / HSB | hsv(61, 67%, 55%) | |
| CMYK | cmyk(1%, 0%, 67%, 45%) | |
| CIE LAB | lab(56.82, -13.21, 48.31) | |
| CIE LCH | lch(56.82, 50.09, 105.29) | |
| CIE XYZ | xyz(20.666, 24.737, 6.27) | |
| Decimal | 9145646 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B8D2E, 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 #8B8D2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.95:1 | Pass | Fail | Pass |
| Sample text | 3.53:1 | Fail | Fail | Pass |
| #8B8D2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.53:1 | Fail | Fail | Pass |
| Sample text | 5.95:1 | Pass | 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 #8B8D2E looks to people with the most common types of color vision deficiency.
#988721Protanopia
no red cones#998a34Deuteranopia
no green cones#95847aTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #8b8d2e; }
.text { color: #8b8d2e; }
.border { border: 2px solid #8b8d2e; }
.transparent { background-color: rgb(139 141 46 / 50%); }
.gradient { background: linear-gradient(to right, #8b8d2e, #5b8d2e); }
Similar colors
#888738Witch Brew#8c9632Chorus of Frogs#888844Overgrown Citadel#889717Snakes in the Grass#9d913cGecko#9a8d3fJalapeño#808000Olive Green#808000Olive
Questions
- What color is #8B8D2E?
- #8B8D2E is a dark, moderate yellow, closest to the named color Witch Brew. It belongs to the yellow family of colors.
- What is the RGB value of #8B8D2E?
- The RGB value is 139, 141, 46: 139 red, 141 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #8B8D2E?
- The complementary color is #302E8D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B8D2E?
- Black text. Black text has a contrast ratio of 5.95:1 and white text 3.53:1. WCAG asks for at least 4.5:1 for normal text.