#7C8F2A color

#7C8F2A rgb(124, 143, 42)
Shades of green

The hex color #7C8F2A is a dark, moderate yellow-green.

In the RGB color model it is made of 48.6% red, 56.1% green and 16.5% blue (124, 143, 42).

Its hue angle is 71°, with 55% saturation and 36% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 71% yellow and 44% black.

The closest named color is Pesto di Rucola (#748A35), a difference of 3.2 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.82:1).

#7C8F2A color codes

HEX#7C8F2A
RGBrgb(124, 143, 42)
RGB percentrgb(48.6%, 56.1%, 16.5%)
HSLhsl(71, 55%, 36%)
HSV / HSBhsv(71, 71%, 56%)
CMYKcmyk(13%, 0%, 71%, 44%)
CIE LABlab(56.19, -21.1, 48.93)
CIE LCHlch(56.19, 53.29, 113.33)
CIE XYZxyz(18.553, 24.097, 5.864)
Decimal8163114
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7C8F2A, 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 #7C8F2ARatioAAAAAAA large
Sample text5.82:1PassFailPass
Sample text3.61:1FailFailPass
#7C8F2A as text onRatioAAAAAAA large
Sample text3.61:1FailFailPass
Sample text5.82:1PassFailPass

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 #7C8F2A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7c8f2a; }
.text { color: #7c8f2a; }
.border { border: 2px solid #7c8f2a; }
.transparent { background-color: rgb(124 143 42 / 50%); }
.gradient { background: linear-gradient(to right, #7c8f2a, #498f2a); }
Background
Text color
Border

Similar colors

Questions

What color is #7C8F2A?
#7C8F2A is a dark, moderate yellow-green, closest to the named color Pesto di Rucola. It belongs to the green family of colors.
What is the RGB value of #7C8F2A?
The RGB value is 124, 143, 42: 124 red, 143 green and 42 blue on a 0 to 255 scale.
What is the complementary color of #7C8F2A?
The complementary color is #3D2A8F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7C8F2A?
Black text. Black text has a contrast ratio of 5.82:1 and white text 3.61:1. WCAG asks for at least 4.5:1 for normal text.