Skip to content
Kolorvia
#7f8c22

Color #7f8c22

A moderately saturated dark yellow.

Conversions

HEX
#7f8c22
RGB
rgb(127, 140, 34)
HSL
hsl(67.4, 60.9%, 34.1%)
HSV / HSB
hsv(67.4, 75.7%, 54.9%)
CMYK
cmyk(9.3%, 0%, 75.7%, 45.1%)
LAB
lab(55.47, -18.7, 51.33)
LCH
lch(55.47, 54.63, 110.02)
OKLCH
oklch(61%, 0.1267, 116.48)
HWB
hwb(67.4, 13.3%, 45.1%)

Harmony colors

Complementary

#2f228c

Analogous

#8c6422
#7f8c22
#4a8c22

Triadic

#7f8c22
#227f8c
#8c227f

Split-complementary

#7f8c22
#224a8c
#64228c

Tetradic

#7f8c22
#228c2f
#2f228c
#8c227f

Square

#7f8c22
#228c64
#2f228c
#8c224a

Shades

Color #7f8c22 mixed toward black.

#6a751c
#555d17
#3f4611
#2a2f0b
#151706

Tints

Color #7f8c22 mixed toward white.

#a8b92d
#c2d34b
#d2de78
#e1e9a5
#f0f4d2

Tones

Color #7f8c22 mixed toward gray.

#78832b
#727a34
#6b713c
#646945
#5e604e

Accessibility

Aa White text on this color
3.7:1
Aa Black text on this color
5.68:1

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

Under color vision deficiencies

Protanopia

#85854e · ΔE 8.4

Deuteranopia

#848355 · ΔE 10.4

Tritanopia

#806266 · ΔE 37.2

Achromatopsia

#858585 · ΔE 24.6

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

Code

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

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#7f8c22 (#7f8c22) is rgb(127, 140, 34) in RGB.

No, #7f8c22 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 #7f8c22, 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.