Skip to content
Kolorvia
#7c9c1f

Color #7c9c1f

A moderately saturated dark green.

Conversions

HEX
#7c9c1f
RGB
rgb(124, 156, 31)
HSL
hsl(75.4, 66.8%, 36.7%)
HSV / HSB
hsv(75.4, 80.1%, 61.2%)
CMYK
cmyk(20.5%, 0%, 80.1%, 38.8%)
LAB
lab(60.03, -28.13, 56.48)
LCH
lch(60.03, 63.1, 116.48)
OKLCH
oklch(64.6%, 0.1488, 123.68)
HWB
hwb(75.4, 12.2%, 38.8%)

Harmony colors

Complementary

#3f1f9c

Analogous

#9c7e1f
#7c9c1f
#3d9c1f

Triadic

#7c9c1f
#1f7c9c
#9c1f7c

Split-complementary

#7c9c1f
#1f3d9c
#7e1f9c

Tetradic

#7c9c1f
#1f9c3f
#3f1f9c
#9c1f7c

Square

#7c9c1f
#1f9c7e
#3f1f9c
#9c1f3d

Shades

Color #7c9c1f mixed toward black.

#67821a
#536815
#3e4e10
#29340a
#151a05

Tints

Color #7c9c1f mixed toward white.

#a0c928
#b6db4c
#c9e478
#dbeda5
#edf6d2

Tones

Color #7c9c1f mixed toward gray.

#779229
#728734
#6d7d3e
#687249
#636853

Accessibility

Aa White text on this color
3.17:1
Aa Black text on this color
6.63:1

Black text reads better on this background (6.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8b8b55 · ΔE 12

Deuteranopia

#89875d · ΔE 14.8

Tritanopia

#7e6d71 · ΔE 37.1

Achromatopsia

#919191 · ΔE 26.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #7c9c1f;
Tailwind (arbitrary value)
bg-[#7c9c1f]

Related colors

Olive Drab #6b8e23
Yellow Green #9acd32
Dark Olive Green #556b2f
Green Yellow #adff2f
Chartreuse #7fff00
Lawn Green #7cfc00

Frequently asked questions

#7c9c1f (#7c9c1f) is rgb(124, 156, 31) in RGB.

No, #7c9c1f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #7c9c1f, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.