#7C9B31 color
The hex color #7C9B31 is a moderate yellow-green.
In the RGB color model it is made of 48.6% red, 60.8% green and 19.2% blue (124, 155, 49).
Its hue angle is 78°, with 52% saturation and 40% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 68% yellow and 39% black.
The closest named color is Green Thumb (#779900), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.59:1).
#7C9B31 color codes
| HEX | #7C9B31 | |
|---|---|---|
| RGB | rgb(124, 155, 49) | |
| RGB percent | rgb(48.6%, 60.8%, 19.2%) | |
| HSL | hsl(78, 52%, 40%) | |
| HSV / HSB | hsv(78, 68%, 61%) | |
| CMYK | cmyk(20%, 0%, 68%, 39%) | |
| CIE LAB | lab(59.84, -26.63, 49.83) | |
| CIE LCH | lch(59.84, 56.5, 118.12) | |
| CIE XYZ | xyz(20.588, 27.949, 7.215) | |
| Decimal | 8166193 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C9B31, 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 #7C9B31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.59:1 | Pass | Fail | Pass |
| Sample text | 3.19:1 | Fail | Fail | Pass |
| #7C9B31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.19:1 | Fail | Fail | Pass |
| Sample text | 6.59: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 #7C9B31 looks to people with the most common types of color vision deficiency.
#a49122Protanopia
no red cones#a09039Deuteranopia
no green cones#829386Tritanopia
no blue cones#909090Achromatopsia
no color vision
CSS examples
.background { background-color: #7c9b31; }
.text { color: #7c9b31; }
.border { border: 2px solid #7c9b31; }
.transparent { background-color: rgb(124 155 49 / 50%); }
.gradient { background: linear-gradient(to right, #7c9b31, #479b31); }
Similar colors
#779900Green Thumb#789b4aMossy Glossy#669900Gecko’s Dream#819b4fRosemarried#689938Hidden Valley#6b8e23Olive Drab#659c35Radiant Foliage#8c9632Chorus of Frogs
Questions
- What color is #7C9B31?
- #7C9B31 is a moderate yellow-green, closest to the named color Green Thumb. It belongs to the green family of colors.
- What is the RGB value of #7C9B31?
- The RGB value is 124, 155, 49: 124 red, 155 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #7C9B31?
- The complementary color is #50319B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C9B31?
- Black text. Black text has a contrast ratio of 6.59:1 and white text 3.19:1. WCAG asks for at least 4.5:1 for normal text.